Message154398
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:37 | flox | set | recipients:
+ flox, effbot, georg.brandl, ezio.melotti, Arfrever, eli.bendersky |
2012-02-26 21:49:37 | flox | set | messageid: <1330292977.62.0.217634762569.issue14007@psf.upfronthosting.co.za> |
2012-02-26 21:49:37 | flox | link | issue14007 messages |
2012-02-26 21:49:36 | flox | create | |
|