Test results for Solaris x86

test_001030_option_linenumbers

Test description

Test for line numbers being suffixed at the end of level 1 element names
starting at number 1 and increasing sequentially with every level 1 element
encountered.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -l

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>
  <line1>
    <field>Team</field>
    <field>Won</field>
    <field>Lost</field>
    <field>Drawn</field>
  </line1>
  <line2>
    <field>Barcelona</field>
    <field>5</field>
    <field>1</field>
    <field>2</field>
  </line2>
  <line3>
    <field>Manchester</field>
    <field>4</field>
    <field>2</field>
    <field>2</field>
  </line3>
  <line4>
    <field>Milan</field>
    <field>2</field>
    <field>2</field>
    <field>4</field>
  </line4>
</xmlfy>

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