This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ericvergnaud
Recipients andrei.avk, docs@python, ericvergnaud, kj, twowolfs
Date 2022-03-14.21:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647294870.73.0.201105110471.issue45336@roundup.psfhosted.org>
In-reply-to
Content
This is not a feature request, it's a bug fix request, so should be fixed asap.

Why is it a bug ?
XML spec says that "the default namespace does not apply to attribute names" (see section 6.3), therefore having a simple attribute name when using a default namespace is a perfectly valid scenario.

Raising a ValueError in add_qname (line 864) is therefore incorrect if the qname being added is a simple name of an attribute

not sure if lxml is able to parse very large documents (>4g) but I'll try it
History
Date User Action Args
2022-03-14 21:54:30ericvergnaudsetrecipients: + ericvergnaud, docs@python, kj, andrei.avk, twowolfs
2022-03-14 21:54:30ericvergnaudsetmessageid: <1647294870.73.0.201105110471.issue45336@roundup.psfhosted.org>
2022-03-14 21:54:30ericvergnaudlinkissue45336 messages
2022-03-14 21:54:30ericvergnaudcreate