libxml2/test/errors/ns-ent.xml
Nick Wellnhofer f3fa34dcad parser: Fix general entity parsing
Clear namespace database.

Ignore non-fatal errors.
2023-12-28 16:47:41 +01:00

11 lines
223 B
XML

<!DOCTYPE doc [
<!ENTITY ent1 "<elem/>">
<!ENTITY ent2 "<ns:elem/>">
]>
<doc>
<a xmlns="urn:a">&ent1;</a>
<b xmlns="urn:b">&ent1;</b>
<a xmlns:ns="urn:a">&ent2;</a>
<b xmlns:ns="urn:b">&ent2;</b>
</doc>