This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients Arfrever, effbot, eli.bendersky, ezio.melotti, flox, georg.brandl
Date 2012-02-26.21:49:36
SpamBayes Score 1.9877349e-05
Marked as misclassified No
Message-id <>
Two other differences:
 * the C TreeBuilder has an undocumented and unused method "xml"
 * if you omit one of the TreeBuilder method (start(), end(), data(), close()) on you custom TreeBuilder implementation, the C XMLParser works fine, but the Python XMLParser raises an attribute error.

And I confirm that if you implement the "doctype()" method on a custom TreeBuilder object, the C XMLParser ignores it, while the Python version works fine.

I propose:
 - to drop the undocumented, empty "TreeBuilder().xml" method.
 - to relax the Python XMLParser, in order to accept incomplete TreeBuilder implementation (like the C version)
 - to implement the "doctype()" handler in the C XMLParser (this needs some work)
Date User Action Args
2012-02-26 21:49:37floxsetrecipients: + flox, effbot, georg.brandl, ezio.melotti, Arfrever, eli.bendersky
2012-02-26 21:49:37floxsetmessageid: <>
2012-02-26 21:49:37floxlinkissue14007 messages
2012-02-26 21:49:36floxcreate