Test results for Win32 Console

test_005020_delimiter_in_rbarray_1

Test description

Test for delimiter 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 aa -F1 aaaa -F1 aaa -A delimiter

Input data

0123456789aaa9876543210aaaa2468aa13579

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <line delimiter="aaa">
    <field delimiter="">0123456789</field>
  </line>
  <line delimiter="aaaa">
    <field delimiter="">9876543210</field>
  </line>
  <line delimiter="aa">
    <field delimiter="">2468</field>
  </line>
  <line delimiter="">
    <field delimiter="WHITESPACE">13579</field>
  </line>
</xmlfy>

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