The following error messages will be produced by the parser:
| Response | Error Text | Example |
|---|---|---|
| 00 | Parse ended without errors. | valid/* |
| -01 | Wrong character set/Document does not start with '<'. | not-wf/sa/147.xml |
| -02 | Processing instruction was not closed. Position %2%. | not-wf/sa/004.xml |
| -03 | A CDATA section was not closed. Position %2%. | esi/001.xml |
| -04 | !DOCTYPE section was not closed. Position %2%. | not-wf/sa/055.xml |
| -05 | Incorrect syntax was used in a comment. Position %2%. | not-wf/sa/006.xml |
| -06 | A comment was not closed. Position %2%. | not-wf/sa/027.xml |
| -07 | A CDATA section was not closed. Position %2% | not-wf/sa/017.xml |
| -08 | A comment section was not closed. Position %2%. | esi/002.xml |
| -09 | Closing tag name was started with an invalid character. Position %2%. | not-wf/sa/019.xml |
| -10 | Closing tag without starting element. Position %2%. | not-wf/sa/042.xml |
| -11 | Closing tag '%3%' does not match the start tag '%1%'. Position %2%. | not-wf/sa/039.xml |
| -12 | Closing tag was not closed. Position %2%. | esi/003.xml |
| -13 | Closing tag '%1%' was not closed. Position %2%. | no example available |
| -14 | Starting tag name was started with an invalid character. Position %2%. | not-wf/sa/035.xml |
| -15 | Attribute name of tag '%1%' not found. Position %2%. | no example available |
| -16 | Attribute name of tag '%1%' contains an invalid character. Position %2%. | not-wf/sa/001.xml |
| -17 | Attribute value of tag '%1%' ending quotation mark missing. Position %2%. | not-wf/sa/013.xml |
| -18 | Attribute value of tag '%1%' ending apostrophe missing. Position %2%. | esi/005.xml |
| -19 | Starting tag section was not closed. Position %2%. | esi/006.xml |
| -20 | Tag '%1%' section was not closed. Position %2%. | not-wf/sa/176.xml |
| -21 | A section was not closed. Position %2%. | not-wf/sa/025.xml |
| < -8000 | User defined error messages, parser ends. | no example available |
| < -9000 | User defined error messages, PARSER_ERROR is called and parser ends. | no example available |