Test results for Linux |
Test for a summary element printed with its own prologue to the file specified.
Pass
cat _INPUT_DATA_ ¦ xmlfy -sf _OUTPUT_DATA_
Team Won Lost Drawn Barcelona 5 1 2 Manchester 4 2 2 Milan 2 2 4
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy_summary SYSTEM "xmlfy.dtd"> <xmlfy_summary> <version>1.5.7</version> <timestamp> <start>Wed Feb 5 22:22:43 2020</start> <end>Wed Feb 5 22:22:43 2020</end> </timestamp> <md5_input>445e1e0af51a6d3fefbebf42d85f9a74</md5_input> <md5_output>bc9bfaba95cc5cd4b4623b047a2a949c</md5_output> <sha512_input>66a378afa22ed5598790f84025a64c1ea2a34c8687cc0121ba8975970537399570706d85faeb9a9b3d6c3b1cfae37dfe2967c61cb79ef6916b7af60753f03cec</sha512_input> <sha512_output>7496afb2eb5c3d7e24c1b03e7aa981caf80b81aec7d90fc8c05853e7caf63ce4ac14d6f3af05eb50cfca9b52e6990bb0574d1d903eb8c4caf3ba46a9ff4169d2</sha512_output> <args> <command> <arg>xmlfy</arg> <arg>-X</arg> <arg>newline</arg> <arg>unix</arg> <arg>-sf</arg> <arg>_OUTPUT_DATA_</arg> </command> </args> <separator> <level1> <delimiter>NEWLINE</delimiter> </level1> <level2> <delimiter>WHITESPACE</delimiter> </level2> </separator> <schema> <default>true</default> <records> <read>5</read> <expelled>0</expelled> <matched>4</matched> <unmatched>0</unmatched> <ignoredblank>1</ignoredblank> <printed>4</printed> </records> </schema> </xmlfy_summary>