libxml2/result/HTML/xml-declaration-1.html.sax
Nick Wellnhofer 3adb396d87 html: Parse bogus comments instead of ignoring them
Also treat XML processing instructions as bogus comments.
2024-10-06 18:13:05 +02:00

14 lines
290 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment(?xml encoding="UTF-8")
SAX.startElement(html)
SAX.startElement(body)
SAX.startElement(p)
SAX.characters(öäüß, 8)
SAX.endElement(p)
SAX.characters(
, 1)
SAX.endElement(body)
SAX.endElement(html)
SAX.endDocument()