1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
libxml2/test/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

10 lines
199 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/>
</doc>