Enumeration

NSXMLParserError

The following error codes are defined by NSXMLParser. For error codes not listed here, see the <libxml/xmlerror.h> header file.

Declaration

typedef enum NSXMLParserError : NSInteger {
    ...
} NSXMLParserError;

Topics

Constants

NSXMLParserInternalError

The parser object encountered an internal error.

NSXMLParserOutOfMemoryError

The parser object ran out of memory.

NSXMLParserDocumentStartError

The parser object is unable to start parsing.

NSXMLParserEmptyDocumentError

The document is empty.

NSXMLParserPrematureDocumentEndError

The document ended unexpectedly.

NSXMLParserInvalidHexCharacterRefError

Invalid hexadecimal character reference encountered.

NSXMLParserInvalidDecimalCharacterRefError

Invalid decimal character reference encountered.

NSXMLParserInvalidCharacterRefError

Invalid character reference encountered.

NSXMLParserInvalidCharacterError

Invalid character encountered.

NSXMLParserCharacterRefAtEOFError

Target of character reference cannot be found.

NSXMLParserCharacterRefInPrologError

Invalid character found in the prolog.

NSXMLParserCharacterRefInEpilogError

Invalid character found in the epilog.

NSXMLParserCharacterRefInDTDError

Invalid character encountered in the DTD.

NSXMLParserEntityRefAtEOFError

Target of entity reference is not found.

NSXMLParserEntityRefInPrologError

Invalid entity reference found in the prolog.

NSXMLParserEntityRefInEpilogError

Invalid entity reference found in the epilog.

NSXMLParserEntityRefInDTDError

Invalid entity reference found in the DTD.

NSXMLParserParsedEntityRefAtEOFError

Target of parsed entity reference is not found.

NSXMLParserParsedEntityRefInPrologError

Target of parsed entity reference is not found in prolog.

NSXMLParserParsedEntityRefInEpilogError

Target of parsed entity reference is not found in epilog.

NSXMLParserParsedEntityRefInInternalSubsetError

Target of parsed entity reference is not found in internal subset.

NSXMLParserEntityReferenceWithoutNameError

Entity reference is without name.

NSXMLParserEntityReferenceMissingSemiError

Entity reference is missing semicolon.

NSXMLParserParsedEntityRefNoNameError

Parsed entity reference is without an entity name.

NSXMLParserParsedEntityRefMissingSemiError

Parsed entity reference is missing semicolon.

NSXMLParserUndeclaredEntityError

Entity is not declared.

NSXMLParserUnparsedEntityError

Cannot parse entity.

NSXMLParserEntityIsExternalError

Cannot parse external entity.

NSXMLParserEntityIsParameterError

Entity is a parameter.

NSXMLParserUnknownEncodingError

Document encoding is unknown.

NSXMLParserEncodingNotSupportedError

Document encoding is not supported.

NSXMLParserStringNotStartedError

String is not started.

NSXMLParserStringNotClosedError

String is not closed.

NSXMLParserNamespaceDeclarationError

Invalid namespace declaration encountered.

NSXMLParserEntityNotStartedError

Entity is not started.

NSXMLParserEntityNotFinishedError

Entity is not finished.

NSXMLParserLessThanSymbolInAttributeError

Angle bracket is used in attribute.

NSXMLParserAttributeNotStartedError

Attribute is not started.

NSXMLParserAttributeNotFinishedError

Attribute is not finished.

NSXMLParserAttributeHasNoValueError

Attribute doesn’t contain a value.

NSXMLParserAttributeRedefinedError

Attribute is redefined.

NSXMLParserLiteralNotStartedError

Literal is not started.

NSXMLParserLiteralNotFinishedError

Literal is not finished.

NSXMLParserCommentNotFinishedError

Comment is not finished.

NSXMLParserProcessingInstructionNotStartedError

Processing instruction is not started.

NSXMLParserProcessingInstructionNotFinishedError

Processing instruction is not finished.

NSXMLParserNotationNotStartedError

Notation is not started.

NSXMLParserNotationNotFinishedError

Notation is not finished.

NSXMLParserAttributeListNotStartedError

Attribute list is not started.

NSXMLParserAttributeListNotFinishedError

Attribute list is not finished.

NSXMLParserMixedContentDeclNotStartedError

Mixed content declaration is not started.

NSXMLParserMixedContentDeclNotFinishedError

Mixed content declaration is not finished.

NSXMLParserElementContentDeclNotStartedError

Element content declaration is not started.

NSXMLParserElementContentDeclNotFinishedError

Element content declaration is not finished.

NSXMLParserXMLDeclNotStartedError

XML declaration is not started.

NSXMLParserXMLDeclNotFinishedError

XML declaration is not finished.

NSXMLParserConditionalSectionNotStartedError

Conditional section is not started.

NSXMLParserConditionalSectionNotFinishedError

Conditional section is not finished.

NSXMLParserExternalSubsetNotFinishedError

External subset is not finished.

NSXMLParserDOCTYPEDeclNotFinishedError

Document type declaration is not finished.

NSXMLParserMisplacedCDATAEndStringError

Misplaced CDATA end string.

NSXMLParserCDATANotFinishedError

CDATA block is not finished.

NSXMLParserMisplacedXMLDeclarationError

Misplaced XML declaration.

NSXMLParserSeparatorRequiredError

Separator is required.

NSXMLParserNMTOKENRequiredError

Name token is required.

NSXMLParserPublicIdentifierRequiredError

Public identifier is required.

NSXMLParserLTRequiredError

Left angle bracket is required.

NSXMLParserGTRequiredError

Right angle bracket is required.

NSXMLParserLTSlashRequiredError

Left angle bracket slash is required.

NSXMLParserEqualExpectedError

Equal sign expected.

NSXMLParserUnfinishedTagError

Unfinished tag found.

NSXMLParserStandaloneValueError

Standalone value found.

NSXMLParserInvalidEncodingNameError

Invalid encoding name found.

NSXMLParserCommentContainsDoubleHyphenError

Comment contains double hyphen.

NSXMLParserExternalStandaloneEntityError

External standalone entity.

NSXMLParserInvalidConditionalSectionError

Invalid conditional section.

NSXMLParserEntityValueRequiredError

Entity value is required.

NSXMLParserNotWellBalancedError

Document is not well balanced.

NSXMLParserExtraContentError

Error in content found.

NSXMLParserInvalidCharacterInEntityError

Invalid character in entity found.

NSXMLParserParsedEntityRefInInternalError

Internal error in parsed entity reference found.

NSXMLParserEntityRefLoopError

Entity reference loop encountered.

NSXMLParserEntityBoundaryError

Entity boundary error.

NSXMLParserInvalidURIError

Invalid URI specified.