Test results for Linux |
Test for the debug option producing extra output to stderr.
Pass
cat _INPUT_DATA_ ¦ xmlfy --debug
Team Won Lost Drawn Barcelona 5 1 2 Manchester 4 2 2 Milan 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</field> <field>4</field> <field>2</field> <field>2</field> </line> <line> <field>Milan</field> <field>2</field> <field>2</field> <field>4</field> </line> </xmlfy> DEBUG: Using default schema. DEBUG: start function: cleanup DEBUG: end function: cleanup