[XML-SIG] Issues with XMLTreeBuilder in cElementTree and ElementTree

Fredrik Lundh fredrik at pythonware.com
Sun Mar 30 15:28:38 CEST 2008


Stefan Behnel wrote:

> (c)ET's XMLParser has an attribute "parser" that references the expat parser
> instance. It was renamed in newer versions.

cElementTree doesn't use the pyexpat API, and the expat binding it uses 
doesn't support the ordered_attributes nonsense (*) at all.

</F>

*) it's an XML parser, after all.  bugs in downstream tools should be 
fixed in those tools, or by post-processing, not by hacking XML tools
to produce things that are not XML.



More information about the XML-SIG mailing list