[issue19832] XML version is ignored

Irit Katriel report at bugs.python.org
Fri Jun 18 06:57:13 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

Reproduced in 3.11:

>>> xml.sax.parseString("<?xml version='X' encoding='UTF-8'?><root>blah</root>", xml.sax.ContentHandler())
>>>

----------
nosy: +iritkatriel
versions: +Python 3.11 -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19832>
_______________________________________


More information about the Python-bugs-list mailing list