blob: 3969579cb91e1b1fbddef0c0a2369a6f237bcb4e [file] [log] [blame]
Xin Lia136fc22016-07-26 14:22:54 -07001SAX.setDocumentLocator()
2SAX.startDocument()
3SAX.comment( This tests that three-byte UTF-8 characters are parsed properly when split across a buffer boundary of length XML_PARSER_BIG_BUFFER_SIZE (300 bytes). )
4SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
5SAX.characters(
6, 1)
7SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
8SAX.pcdata(牛牛牛牛牛牛ç‰, 1200)
9SAX.endElementNs(p, NULL, NULL)
10SAX.characters(
11, 1)
12SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
13SAX.pcdata( 牛牛牛牛牛牛ç, 1201)
14SAX.endElementNs(p, NULL, NULL)
15SAX.characters(
16, 1)
17SAX.startElementNs(p, NULL, NULL, 0, 0, 0)
18SAX.pcdata( 牛牛牛牛牛牛, 1202)
19SAX.endElementNs(p, NULL, NULL)
20SAX.characters(
21, 1)
22SAX.endElementNs(doc, NULL, NULL)
23SAX.endDocument()