Test results for Linux

test_005040_delimiter_multilevel

Test description

Test for multi-level delimiter handling.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -F3 : -F4 , -A delimiter

Input data

12:34 5:6,7,8

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <line delimiter="NEWLINE">
    <field delimiter="WHITESPACE">
      <field delimiter=":">12</field>
      <field delimiter="">34</field>
    </field>
    <field delimiter="">
      <field delimiter=":">5</field>
      <field delimiter="">
        <field delimiter=",">6</field>
        <field delimiter=",">7</field>
        <field delimiter="">8</field>
      </field>
    </field>
  </line>
</xmlfy>

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