Test results for Solaris x86

test_001251_option_summary_comment

Test description

Test for a summary element printed inside XML comments at the end of
normal XML output without any digests being processed.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -sc -sn

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>
<!-- start-of-summary-comment
<xmlfy_summary>
  <version>1.5.6</version>
  <timestamp>
    <start>Mon Apr 15 12:32:48 2013</start>
    <end>Mon Apr 15 12:32:48 2013</end>
  </timestamp>
  <args>
    <command>
      <arg>xmlfy</arg>
      <arg>-X</arg>
      <arg>newline</arg>
      <arg>unix</arg>
      <arg>-sc</arg>
      <arg>-sn</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>
end-of-summary-comment -->

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