Test results for Win32 Console |
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.
Pass
cat _INPUT_DATA_ ¦ xmlfy -F1 1234567890 -F1 12 -F1 123456 -A delimiter -q
f123456a 12Z12"g d"
<?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>