Test results for Linux

test_005030_delimiter_quotehandling

Test description

Test for quote handling when a delimiter boundary falls within the
readback array (a buffer the size of the largest delimiter).
The end result should be transparent to the user with correctly delimited
fields being produced.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -F1 1234567890 -F1 12 -F1 123456 -A delimiter -q

Input data

f123456a   12Z12"g d"

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <line delimiter="123456">
    <field delimiter="">f</field>
  </line>
  <line delimiter="12">
    <field delimiter="WHITESPACE">a</field>
  </line>
  <line delimiter="12">
    <field delimiter="">Z</field>
  </line>
  <line delimiter="">
    <field delimiter="">g d</field>
  </line>
</xmlfy>

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