Constant | Value | Description |
---|---|---|
ecNoError | 0 | File openned and parsed sucesfully |
ecTagNesting | 1 | Tag nesting error |
ecTagCase | 2 | Case of closing tag incorrect |
ecMultipleRoots | 3 | More than one root element found |
ecInvalidElementName | 4 | Invalid element name |
ecInvalidAttributeName | 5 | Invalid attribute name |
ecMissingQuotes | 6 | Quotes not used around attribute value |
ecTagNotClosed | 7 | Tag not closed |
ecXMLFileNotFound | 8 | XML file not found |
ecTMXMLdecs | 9 | More than one XML declaration was found |
ecWPXMLDec | 10 | XML declaration in wrong place |
ecTMDocType | 11 | More than one DOCTYPE declaration |
ecInvXMLDec | 12 | Invalid XML Declaration |
ecInvDocType | 13 | Invalid DOCTYPE Declaration |
ecInvAttribute | 14 | Invalid attribute |
ecInvPIName | 15 | Invalid PI Name |
ecInvPI | 16 | Invalid PI |
ecInvTag | 17 | Invalid tag |
ecInvCharInAttribute | 18 | Invalid character in an attribute value |
ecInvXMLDecVer | 19 | Invalid attribute in xml declaration, if attributename1="." or expecting version attribute if attributename is something else |
ecUnkEleType | 20 | Unknown element type |
ecMultipleAttributes | 21 | Two attributes of the same name, in the same element |
ecEOFbeforeRoot | 22 | End of file reached before the root element is found |
ecEOFbeforeRootClosed | 23 | End of file reached before close of root |
ecEOFinXMLdec | 24 | End of file reached during xml declaration |
ecEOFinDOCTYPE | 25 | End of file reached during DOCTYPE |
ecwpDocType | 26 | DOCTYPE must occur before the root element |
ecEOFinTagName | 27 | End of file reached during a tag name I.E. between '<' and the attributes or ">" |
ecEOFinTag | 28 | End of file reached during a tag I.E. between '<xxx' and ">" could be end tag |
ecEOFinElement | 29 | End of file reached during an element I.E. there was no </xxx> matching the <xxx> in the file. |
More details are coming in later versions of the documentation that include which errors set which error flags and what it puts in them, although it is fairly obvious in most cases.