mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
7d446e9736
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.
16 lines
521 B
Plaintext
16 lines
521 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.startElementNs(doc, NULL, 'urn:def', 2, xmlns='urn:def', xmlns:a='urn:a', 0, 0)
|
|
SAX.characters(
|
|
, 5)
|
|
SAX.startElementNs(elem, NULL, 'urn:def2', 2, xmlns='urn:def2', xmlns:a='urn:a2', 0, 0)
|
|
SAX.endElementNs(elem, NULL, 'urn:def2')
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElementNs(doc, NULL, 'urn:def')
|
|
SAX.endDocument()
|