lxml adds duplicate namespace parameters
Bug #2048693 reported by
kesara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Since lxml 5.0.0, lxml adds duplicate namespace parameters.
This behaviour seems to happen only when DTD is defined and `attribute_
output of test.py:
```
Python : sys.version_
lxml.etree : (5, 1, 0, 0)
libxml used : (2, 12, 3)
libxml compiled : (2, 12, 3)
libxslt used : (1, 1, 39)
libxslt compiled : (1, 1, 39)
[('name', 'foo'), ('{http://
```
`root[0].items()` has duplicate `'{http://
summary: |
- lxml duplicatel namespace parameters + lxml adds duplicate namespace parameters |
To post a comment you must log in.
This is most likely not due to a change in lxml but in libxml2. lxml 5.0 uses libxml2 2.12.3.
It might be related to this change: /gitlab. gnome.org/ GNOME/libxml2/ -/commit/ 8d42c447d616fb8 1c6f8f84a491ef5 0d882366f5
https:/