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

Stefan Behnel report at bugs.python.org
Sat Apr 27 03:25:53 EDT 2019


Stefan Behnel <stefan_ml at behnel.de> added the comment:

Comment/PI parsing in general is implemented in issue 36673. Note that there is currently no way to represent comments and PIs in the tree when they appear outside of the root element, which I think is what this ticket is about. After issue 36673 is resolved, however, they can at least be picked up from the parser target or from iterparse() and XMLPullParser().

----------
versions: +Python 3.8 -Python 3.5

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


More information about the Python-bugs-list mailing list