[issue36233] xml ElementTree quotation marks of xml version string
Stefan Behnel
report at bugs.python.org
Fri Mar 8 15:15:42 EST 2019
Stefan Behnel <stefan_ml at behnel.de> added the comment:
While I do understand the interest in a bit more visual consistency (and, lacking further input, I assume that this is the OP's "problem"), it really is at best a purely visual improvement with the potential to break code and/or tests out there. I'd rather not make that change.
FWIW, lxml also uses single quotes in the XML declaration (originally following ElementTree), but double quotes by default for the rest, except for attributes that contain double quotes (but no single quotes). Any XML parser in the world is able to deal with that (since otherwise, it's not an XML parser). Nothing is broken here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36233>
_______________________________________
More information about the Python-bugs-list
mailing list