You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-8277
It couldn't work for those comments before the root element.
It will raise an error that "xml.etree.ElementTree.ParseError: multiple elements on top level".
Example:
test.xml
--------
<?xml version="1.0" encoding="utf-8"?>
<!-- comments here doesn't work -->
<root node>
<nodeA />
<!-- comments here is ok -->
<nodeB />
</root node>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: