Commit 72182550 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Add test for ICU flush and pivot buffer

parent 0b19f236
<?xml version="1.0" encoding="EUC-JP"?>
<foo>
Text with EUC-JP chars at position 214 (0xd6)
___
_______________
_______________
_______________
_______________
_______________
_______________
_______________
_______鮏___
_</foo>
0 1 foo 0 0
1 3 #text 0 1
Text with EUC-JP chars at position 214 (0xd6)
___
_______________
_______________
_______________
_______________
_______________
_______________
_______________
_______駪槗___
_
0 15 foo 0 0
0 1 foo 0 0
1 3 #text 0 1
Text with EUC-JP chars at position 214 (0xd6)
___
_______________
_______________
_______________
_______________
_______________
_______________
_______________
_______駪槗___
_
0 15 foo 0 0
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()
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()
<?xml version="1.0" encoding="EUC-JP"?>
<foo>
Text with EUC-JP chars at position 214 (0xd6)
___
_______________
_______________
_______________
_______________
_______________
_______________
_______________
_______鮏___
_</foo>
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()
<?xml version="1.0" encoding="EUC-JP"?>
<foo>
Text with EUC-JP chars at position 214 (0xd6)
___
_______________
_______________
_______________
_______________
_______________
_______________
_______________
_______鮏___
_</foo>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment