1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/test/def-xml-attr.xml
Nick Wellnhofer 186562a182 parser: Fix detection of duplicate attributes in XML namespace
Fixes a regression from commit e0dd330b, resulting in duplicate
attributes in the predefined XML namespace not being detected or
extraneous default attributes being passed.

Fixes #704.
2024-03-12 20:02:52 +01:00

8 lines
143 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ATTLIST foo xml:lang CDATA "eng">
]>
<root>
<foo xml:lang="ger">Ja</foo>
</root>