[issue18850] xml.etree.ElementTree accepts control chars.
Michele Orrù
report at bugs.python.org
Thu Aug 29 22:31:03 CEST 2013
Michele Orrù added the comment:
> Is that you actual use case? That you *want* to store binary data in XML, instead of getting it properly rejected as non well-formed content?
No, Stefan.
What I was saying in my last message was just "you're right, the user shall always use repr() when printing an xml tree" (msg196313) because "xml does *not* guarantee to have only printable chars by itself" (msg196368, msg196379).
As an advice I hope you do not take as insult, saying
"in section {section} the spec says {argument}"
is much more constructive than
"read the spec on that", "{extremely_obvious_link}",
at least to people not familiar with the spec and asking for the source of your arguments (msg196360). Can shorten threads, too.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18850>
_______________________________________
More information about the Python-bugs-list
mailing list