1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-27 14:03:36 +03:00
libxml2/result/noent/cdata-4-byte-UTF-8.xml.sax2
Nick Wellnhofer dbaab1f369 Test SAX2 callbacks with entity substitution
This detects regressions like bug 760367.
2017-06-16 21:38:57 +02:00

29 lines
867 B
Plaintext
Raw Blame History

SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( This tests that four-byte UTF-8 characters are parsed properly when split across a buffer boundary of length XML_PARSER_BIG_BUFFER_SIZE (300 bytes). )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 1)
SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
SAX.pcdata(ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦, 1200)
SAX.endElementNs(p, NULL, NULL)
SAX.characters(
, 1)
SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
SAX.pcdata( ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>, 1201)
SAX.endElementNs(p, NULL, NULL)
SAX.characters(
, 1)
SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
SAX.pcdata( ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ, 1202)
SAX.endElementNs(p, NULL, NULL)
SAX.characters(
, 1)
SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
SAX.pcdata( ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ðŸ<C3B0>¦ð, 1203)
SAX.endElementNs(p, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()