1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/issue643.xml
Nick Wellnhofer 7d446e9736 parser: Fix namespaces redefined from default attributes
This regressed in commit e0dd330b.

Also fixes a long-standing issue where namespaces from default
attributes weren't added if they match an existing namespace.

Fixes #643.
2023-12-08 12:19:16 +01:00

9 lines
224 B
XML

<?xml version="1.0"?>
<!DOCTYPE doc [
<!ATTLIST elem xmlns CDATA #FIXED "urn:def2">
<!ATTLIST elem xmlns:a CDATA #FIXED "urn:a2">
]>
<doc xmlns="urn:def" xmlns:a="urn:a">
<elem xmlns="urn:def2" xmlns:a="urn:a2"/>
</doc>