[XML-SIG] minidom enhancements

Martin v. Loewis martin@v.loewis.de
14 Jul 2002 18:02:24 +0200


Uche Ogbuji <uche.ogbuji@fourthought.com> writes:

> Which, I think is bad.  We construct nodes that way in 4Suite's
> minidom wrapper, and I can modify the cases, but I dislike the
> change.  I think it removes a very useful and Pythonic paradigm.
> Also, who knows how much code it would break?

In defense of the change: you are not supposed to know what the names
of the implementation classes are; the Document is a factory. This is
a useful property of the DOM, and applications are encouraged to use
that.

So if the paradigm you are referring to is "instances are created by
calling the class", so I'd dispute the usefulness of the paradigm.

That said, I see no particular reason why the original behaviour
couldn't be restored. Fred?

Regards,
Martin