XMLReader
From Real Software Documentation
Class (inherits from Object)
This is a wrapper class for the latest version of Expat (XML Parser Toolkit). Expat is a library for parsing XML documents. Create a subclass of XMLReader to get access to the events. Most of the events, methods and properties are straight mappings of the Expat features.
| Properties | |||||||||
|
| Methods | ||||||
|
| Constructors | ||
|
Class Constants
The following class constants can be used to test the value in ErrorCode.
| Value | Constant |
|---|---|
| 0 | XML_ERROR_NONE |
| 1 | XML_ERROR_NO_MEMORY |
| 2 | XML_ERROR_SYNTAX |
| 3 | XML_ERROR_NO_ELEMENTS |
| 4 | XML_ERROR_INVALID_TOKEN |
| 5 | XML_ERROR_UNCLOSED_TOKEN |
| 6 | XML_ERROR_PARTIAL_CHAR |
| 7 | XML_ERROR_TAG_MISMATCH |
| 8 | XML_ERROR_DUPLICATE_ATTRIBUTE |
| 9 | XML_ERROR_JUNK_AFTER_DOC_ELEMENT |
| 10 | XML_ERROR_PARAM_ENTITY_REF |
| 11 | XML_ERROR_UNDEFINED_ENTITY |
| 12 | XML_ERROR_RECURSIVE_ENTITY_REF |
| 13 | XML_ERROR_ASYNC_ENTITY |
| 14 | XML_ERROR_BAD_CHAR_REF |
| 15 | XML_ERROR_BINARY_ENTITY_REF |
| 16 | XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF |
| 17 | XML_ERROR_MISPLACED_XML_PI |
| 18 | XML_ERROR_UNKNOWN_ENCODING |
| 19 | XML_ERROR_INCORRECT_ENCODING |
| 20 | XML_ERROR_UNCLOSED_CDATA_SECTION |
| 21 | XML_ERROR_EXTERNAL_ENTITY_HANDLING |
| 22 | XML_ERROR_NOT_STANDALONE |
| 23 | XML_ERROR_UNEXPECTED_STATE |
| 24 | XML_ERROR_ENTITY_DECLARED_IN_PE |
| 25 | XML_ERROR_FEATURE_REQUIRES_XML_DTD |
| 26 | XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING |
See Also
XMLReaderException class.
