Stefan Behnel <[email protected]> added the comment:

As a work-around, you can provide your own XML declaration (or not) and pass 
"xml_declaration=False" into ElementTree.write() to prevent it from adding one. 
UTF-8 encoded XML is ok without such a declaration.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36233>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to