[issue12883] xml.sax.xmlreader.AttributesImpl allows empty string as attribute names
Irit Katriel
report at bugs.python.org
Fri Apr 30 06:10:21 EDT 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
I don't think the proposed patch is an acceptable solution. It silently skips invalid attributes.
It would be ok to either raise an exception or to leave it as it is (junk-in-junk-out). I'm not sure which is better.
----------
nosy: +iritkatriel
versions: +Python 3.11 -Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue12883>
_______________________________________
More information about the Python-bugs-list
mailing list