mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

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.
12 lines
336 B
XML
12 lines
336 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE a:outer [
|
|
<!ELEMENT a:outer (a:inner)>
|
|
<!ATTLIST a:outer xmlns:a CDATA #FIXED "urn:namespace">
|
|
<!ELEMENT a:inner EMPTY>
|
|
<!ATTLIST a:inner xmlns:a CDATA #FIXED "urn:namespace">
|
|
<!ATTLIST a:inner attr CDATA #FIXED "yes">
|
|
]>
|
|
<a:outer xmlns:a="urn:namespace">
|
|
<a:inner xmlns:a="urn:namespace"/>
|
|
</a:outer>
|