Test results for Linux |
Test for quote handling of fields inside the input record.
Pass
cat _INPUT_DATA_ ¦ xmlfy -q -F ,
Team, Won, Lost, Drawn "Barcelona", 5, 1, 2 "Manchester United", 4, 2, 2 ,,, "AC Milan", 2, 2, 4 " Rail Madrid", 2, 2, 4
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <field>Team</field> <field> Won</field> <field> Lost</field> <field> Drawn</field> </line> <line> <field>Barcelona</field> <field> 5</field> <field> 1</field> <field> 2</field> </line> <line> <field>Manchester United</field> <field> 4</field> <field> 2</field> <field> 2</field> </line> <line> <field></field> <field></field> <field></field> <field></field> </line> <line> <field>AC Milan</field> <field> 2</field> <field> 2</field> <field> 4</field> </line> <line> <field> Rail Madrid</field> <field> 2</field> <field> 2</field> <field> 4</field> </line> </xmlfy>