Test results for Solaris x86 |
Test for column generated elements from an input stream containing multi-byte UTF-8 charaters mixed with ASCII characters. The columns ranges specified should correctly treat multi-byte characters as one character (code-point) and produce correctly targeted elements.
Pass
cat _INPUT_DATA_ ¦ xmlfy -C 1-9:nine_chars -C 1-7:first_seven_chars -C '3-9:last_seven_chars'
12κόσμε89
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <nine_chars>12κόσμε89</nine_chars> <first_seven_chars>12κόσμε</first_seven_chars> <last_seven_chars>κόσμε89</last_seven_chars> </line> </xmlfy>