PyXML

Venkatesh Prasad Ranganath rvprasad at cis.ksu.edu
Sun Jan 28 15:42:56 EST 2001


Hi,

If a xml document linked to an external dtd is read using
xml.dom.ext.reader.Sax2.Reader object's fromStream() method then the
document's doctype should have the systemId specified in the document but this
is not true in PyXML.

I am using PyXML from pyxml.sourceforge.net on a linux box with Python 2.0.  The
XMLDocument will have a doctype but instead of the uri to the external dtd the
DocumentType's systemId will be empty.

Is this the right behaviour for DOM Core level 2 specification?  Or Am I missing
something?  Or is PyXML broken?

waiting for reply,

-- 
Venkatesh Prasad Ranganath



More information about the Python-list mailing list