Test results for Solaris x86 |
Test for the handling of an input stream containing a byte-order-mark. The end result should indicate the correctly detected encoding in the prologue.
Pass
cat _INPUT_DATA_ ¦ xmlfy -X BOM -s
word1 word2
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <field>word1</field> </line> <line> <field>word2</field> </line> </xmlfy> <xmlfy_summary> <version>1.5.6</version> <timestamp> <start>Mon Apr 15 12:34:20 2013</start> <end>Mon Apr 15 12:34:20 2013</end> </timestamp> <md5_input>a344a6e23c2d672c1e8ec3a058ea1172</md5_input> <md5_output>90b81f1abfa38b8de54ac049689e385b</md5_output> <sha512_input>2e3c402d68578c004447afdea7355e398a85cea712fab379f61c12024ae4b5f6e1898ca5081f3f8a77caa4a557bd1110c2c79d4d5bc5addc9e0b00d981092037</sha512_input> <sha512_output>75bc14e156ac4425b666310e076de98ecbc662c0d02e29eb440dddd65559c1a50c3f8ae945f18e9d109ec190b5376d87804b3a7b5c7413e443d9ebb7353c0738</sha512_output> <args> <command> <arg>xmlfy</arg> <arg>-X</arg> <arg>newline</arg> <arg>unix</arg> <arg>-X</arg> <arg>BOM</arg> <arg>-s</arg> </command> </args> <separator> <level1> <delimiter>NEWLINE</delimiter> </level1> <level2> <delimiter>WHITESPACE</delimiter> </level2> </separator> <byte_order_mark> <input>UTF-8</input> <output>UTF-8</output> </byte_order_mark> <schema> <default>true</default> <records> <read>2</read> <expelled>0</expelled> <matched>2</matched> <unmatched>0</unmatched> <ignoredblank>0</ignoredblank> <printed>2</printed> </records> </schema> </xmlfy_summary>