[XML-SIG] DOMImplementation.createDocumentType

Alexandre Alexandre.Fayolle@logilab.fr
Mon, 15 Jul 2002 13:40:39 +0200


The DOMImplementation.createDocumentType is not documented in the python
dom mapping
(http://www.python.org/doc/current/lib/dom-implementation-objects.html).
In 4DOM, I can pass None as the publicId argument, and this is done by
xml.dom.ext.readerSax2.XmlDomGenerator. In cDomlette (from CVS), using None 
raises an exception. 

The question is: what's the right way of doing things. Is it OK to
change XmlDomGenerator to use an empty string, or would this break
existing code? Or should cDomlette be enhanced to accept None as the
publicId?

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).