Hash :
e3959461
Author :
Date :
2023-11-30T16:15:46
html: Reenable buggy detection of XML declarations Switch to UTF-8 if a document starts with '<?xm' to match old behavior. Also enable this check in the push parser. Fixes #637.
SAX.setDocumentLocator()
SAX.startDocument()
SAX.processingInstruction(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()