[issue9521] xml.etree.ElementTree skips processing instructions when parsing

Stefan Behnel report at bugs.python.org
Tue Jan 21 09:12:41 CET 2014


Stefan Behnel added the comment:

> Unless there are objections, I'll try to work on a patch that either documents that PIs are lost, or optionally adds them to the tree when parsing (depending on how difficult that turns out to be).

Please do. It should not be difficult at all to make the parser create PI objects (or comments).

Note, however, that this needs to be done in both the Python implementation and the parser of celementtree.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9521>
_______________________________________


More information about the Python-bugs-list mailing list