mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-09 17:57:24 +03:00
Add test for ICU flush and pivot buffer
This commit is contained in:
parent
0b19f236a2
commit
7218255092
13
result/icu_parse_test.xml
Normal file
13
result/icu_parse_test.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="EUC-JP"?>
|
||||||
|
<foo>
|
||||||
|
Text with EUC-JP chars at position 214 (0xd6)
|
||||||
|
___
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______<EFBFBD>é®<EFBFBD>Äé___
|
||||||
|
_</foo>
|
14
result/icu_parse_test.xml.rde
Normal file
14
result/icu_parse_test.xml.rde
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
0 1 foo 0 0
|
||||||
|
1 3 #text 0 1
|
||||||
|
Text with EUC-JP chars at position 214 (0xd6)
|
||||||
|
___
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______駪槗___
|
||||||
|
_
|
||||||
|
0 15 foo 0 0
|
14
result/icu_parse_test.xml.rdr
Normal file
14
result/icu_parse_test.xml.rdr
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
0 1 foo 0 0
|
||||||
|
1 3 #text 0 1
|
||||||
|
Text with EUC-JP chars at position 214 (0xd6)
|
||||||
|
___
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______駪槗___
|
||||||
|
_
|
||||||
|
0 15 foo 0 0
|
9
result/icu_parse_test.xml.sax
Normal file
9
result/icu_parse_test.xml.sax
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
SAX.setDocumentLocator()
|
||||||
|
SAX.startDocument()
|
||||||
|
SAX.startElement(foo)
|
||||||
|
SAX.characters(
|
||||||
|
Text with EUC-JP chars at pos, 170)
|
||||||
|
SAX.characters(駪槗___
|
||||||
|
_, 11)
|
||||||
|
SAX.endElement(foo)
|
||||||
|
SAX.endDocument()
|
9
result/icu_parse_test.xml.sax2
Normal file
9
result/icu_parse_test.xml.sax2
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
SAX.setDocumentLocator()
|
||||||
|
SAX.startDocument()
|
||||||
|
SAX.startElementNs(foo, NULL, NULL, 0, 0, 0)
|
||||||
|
SAX.characters(
|
||||||
|
Text with EUC-JP chars at pos, 170)
|
||||||
|
SAX.characters(駪槗___
|
||||||
|
_, 11)
|
||||||
|
SAX.endElementNs(foo, NULL, NULL)
|
||||||
|
SAX.endDocument()
|
13
result/noent/icu_parse_test.xml
Normal file
13
result/noent/icu_parse_test.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="EUC-JP"?>
|
||||||
|
<foo>
|
||||||
|
Text with EUC-JP chars at position 214 (0xd6)
|
||||||
|
___
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______<EFBFBD>é®<EFBFBD>Äé___
|
||||||
|
_</foo>
|
9
result/noent/icu_parse_test.xml.sax2
Normal file
9
result/noent/icu_parse_test.xml.sax2
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
SAX.setDocumentLocator()
|
||||||
|
SAX.startDocument()
|
||||||
|
SAX.startElementNs(foo, NULL, NULL, 0, 0, 0)
|
||||||
|
SAX.characters(
|
||||||
|
Text with EUC-JP chars at pos, 170)
|
||||||
|
SAX.characters(駪槗___
|
||||||
|
_, 11)
|
||||||
|
SAX.endElementNs(foo, NULL, NULL)
|
||||||
|
SAX.endDocument()
|
13
test/icu_parse_test.xml
Normal file
13
test/icu_parse_test.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="EUC-JP"?>
|
||||||
|
<foo>
|
||||||
|
Text with EUC-JP chars at position 214 (0xd6)
|
||||||
|
___
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______________
|
||||||
|
_______<EFBFBD>é®<EFBFBD>Äé___
|
||||||
|
_</foo>
|
Loading…
x
Reference in New Issue
Block a user