Test results for Win32 Console

test_001250_option_summary

Test description

Test for a summary element printed at the end of normal XML output.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -s

Input data

Team Won Lost Drawn
Barcelona 5 1 2
Manchester 4 2 2
 
Milan 2 2 4

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <line>
    <field>Team</field>
    <field>Won</field>
    <field>Lost</field>
    <field>Drawn</field>
  </line>
  <line>
    <field>Barcelona</field>
    <field>5</field>
    <field>1</field>
    <field>2</field>
  </line>
  <line>
    <field>Manchester</field>
    <field>4</field>
    <field>2</field>
    <field>2</field>
  </line>
  <line>
    <field>Milan</field>
    <field>2</field>
    <field>2</field>
    <field>4</field>
  </line>
</xmlfy>
<xmlfy_summary>
  <version>1.5.7</version>
  <timestamp>
    <start>Wed Feb 05 20:49:12 2020</start>
    <end>Wed Feb 05 20:49:12 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>H:\Projects\vc\xmlfy\src\xmlfy\xmlfy.exe</arg>
      <arg>-X</arg>
      <arg>newline</arg>
      <arg>unix</arg>
      <arg>-s</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>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".