1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/result/issue643.xml.sax
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

16 lines
389 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.attributeDecl(elem, xmlns, 1, 4, urn:def2, ...)
SAX.attributeDecl(elem, xmlns:a, 1, 4, urn:a2, ...)
SAX.externalSubset(doc, , )
SAX.startElement(doc, xmlns='urn:def', xmlns:a='urn:a')
SAX.characters(
, 5)
SAX.startElement(elem)
SAX.endElement(elem)
SAX.characters(
, 1)
SAX.endElement(doc)
SAX.endDocument()