mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-26 10:03:34 +03:00
d7d0bc6581
In commit 21ca8829, we started to ignore namespaces in HTML element names but we still called xmlSplitQName, effectively stripping the namespace prefix. This would cause elements like <o:p> being parsed as <p>. Now we leave the name untouched. Fixes #508.
21 lines
327 B
Plaintext
21 lines
327 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(html)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.startElement(body)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(o:p)
|
|
SAX.error: Tag o:p invalid
|
|
SAX.endElement(o:p)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(body)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(html)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endDocument()
|