[issue33303] ElementTree Comment text isn't escaped
Jeffrey Kintscher
report at bugs.python.org
Fri May 10 21:44:51 EDT 2019
Jeffrey Kintscher <websurfer at surf2c.net> added the comment:
Which characters would you escape in a processing instruction? The XML spec says not to escape '<' and '&', but doesn't say what should be escaped. It seems to me that escaping '?' when followed by '>' should be sufficient since the character sequence "?>" is the closing delimiter.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33303>
_______________________________________
More information about the Python-bugs-list
mailing list