Message196830
> This would make it possible to layer XMLPullParser on top of the stock XMLParser coupled with a special target that collects "events" from the callback calls.
Given that we have an XMLPullParser now, I think we should not clutter the API with more classes that do not add anything more than making other classes redundant. So, -1 on adding a special target that collects events. Anyone who wants to use that feature can just use the XMLPullParser.
In the Python implementation of that parser, custom targets can already be allowed right now. Only the C implementation prevents it currently (AFAICT) as it has its own built-in TreeBuilder target.
Therefore, +1 for the general cleanup to properly allow arbitrary targets as backend.
Also, +1 for allowing start-ns and end-ns event callbacks on parser targets, although that's a different feature entirely. |
|
Date |
User |
Action |
Args |
2013-09-03 09:21:13 | scoder | set | recipients:
+ scoder, jcea, jkloth, eli.bendersky |
2013-09-03 09:21:13 | scoder | set | messageid: <1378200073.67.0.663559356339.issue18902@psf.upfronthosting.co.za> |
2013-09-03 09:21:13 | scoder | link | issue18902 messages |
2013-09-03 09:21:12 | scoder | create | |
|