NSXMLParser Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/Foundation.framework |
| Availability | Available in OS X v10.3 and later. |
| Companion guide | |
| Declared in | NSXMLParser.h |
Overview
Instances of this class parse XML documents (including DTD declarations) in an event-driven manner. An NSXMLParser notifies its delegate about the items (elements, attributes, CDATA blocks, comments, and so on) that it encounters as it processes an XML document. It does not itself do anything with those parsed items except report them. It also reports parsing errors. For convenience, an NSXMLParser object in the following descriptions is sometimes referred to as a parser object.
Tasks
Initializing a Parser Object
Managing Delegates
Managing Parser Behavior
-
– setShouldProcessNamespaces: -
– shouldProcessNamespaces -
– setShouldReportNamespacePrefixes: -
– shouldReportNamespacePrefixes -
– setShouldResolveExternalEntities: -
– shouldResolveExternalEntities
Parsing
Obtaining Parser State
Instance Methods
abortParsing
Stops the parser object.
Discussion
If you invoke this method, the delegate, if it implements parser:parseErrorOccurred:, is informed of the cancelled parsing operation.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hcolumnNumber
Returns the column number of the XML document being processed by the receiver.
Discussion
The column refers to the nesting level of the XML elements in the document. You may invoke this method once a parsing operation has begun or after an error occurs.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hdelegate
Returns the receiver’s delegate.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hinitWithContentsOfURL:
Initializes the receiver with the XML content referenced by the given URL.
Parameters
- url
An
NSURLobject specifying a URL. The URL must be fully qualified and refer to a scheme that is supported by theNSURLclass.
Return Value
An initialized NSXMLParser object or nil if an error occurs.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hinitWithData:
Initializes the receiver with the XML contents encapsulated in a given data object.
Parameters
- data
An
NSDataobject containing XML markup.
Return Value
An initialized NSXMLParser object or nil if an error occurs.
Discussion
This method is the designated initializer.
Availability
- Available in OS X v10.3 and later.
Declared In
NSXMLParser.hinitWithStream:
Initializes the receiver with the XML contents from the specified stream and parses it..
Parameters
- stream
The input stream. The content is incrementally loaded from the specified stream and parsed.
Return Value
An initialized NSXMLParser object or nil if an error occurs.
Availability
- Available in OS X v10.7 and later.
See Also
Declared In
NSXMLParser.hlineNumber
Returns the line number of the XML document being processed by the receiver.
Discussion
You may invoke this method once a parsing operation has begun or after an error occurs.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hparse
Starts the event-driven parsing operation.
Return Value
YES if parsing is successful and NO in there is an error or if the parsing operation is aborted.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hparserError
Returns an NSError object from which you can obtain information about a parsing error.
Discussion
You may invoke this method after a parsing operation abnormally terminates to determine the cause of error.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hpublicID
Returns the public identifier of the external entity referenced in the XML document.
Discussion
You may invoke this method once a parsing operation has begun or after an error occurs.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hsetDelegate:
Sets the receiver’s delegate.
Parameters
- delegate
An object that is the new delegate. It is not retained. The delegate must conform to the
NSXMLParserDelegate Protocolprotocol.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hsetShouldProcessNamespaces:
Specifies whether the receiver reports the namespace and the qualified name of an element in related delegation methods .
Parameters
- shouldProcessNamespaces
YESif the receiver should report the namespace and qualified name of each element,NOotherwise. The default value isNO.
Discussion
The invoked delegation methods are parser:didStartElement:namespaceURI:qualifiedName:attributes: and parser:didEndElement:namespaceURI:qualifiedName:.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hsetShouldReportNamespacePrefixes:
Specifies whether the receiver reports the scope of namespace declarations using related delegation methods.
Parameters
- shouldReportNamespacePrefixes
YESif the receiver should report the scope of namespace declarations,NOotherwise. The default value isNO.
Discussion
The invoked delegation methods are parser:didStartMappingPrefix:toURI: and parser:didEndMappingPrefix:.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hsetShouldResolveExternalEntities:
Specifies whether the receiver reports declarations of external entities using the delegate method parser:foundExternalEntityDeclarationWithName:publicID:systemID:.
Parameters
- shouldResolveExternalEntities
YESif the receiver should report declarations of external entities,NOotherwise. The default value isNO.
Discussion
If you pass in YES, you may cause other I/O operations, either network-based or disk-based, to load the external DTD.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hshouldProcessNamespaces
Indicates whether the receiver reports the namespace and the qualified name of an element in related delegation methods.
Return Value
YES if the receiver reports namespace and qualified name, NO otherwise.
Discussion
The invoked delegation methods are parser:didStartElement:namespaceURI:qualifiedName:attributes: and parser:didEndElement:namespaceURI:qualifiedName:.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hshouldReportNamespacePrefixes
Indicates whether the receiver reports the prefixes indicating the scope of namespace declarations using related delegation methods.
Return Value
YES if the receiver reports the scope of namespace declarations, NO otherwise. The default value is NO.
Discussion
The invoked delegation methods are parser:didStartMappingPrefix:toURI: and parser:didEndMappingPrefix:.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hshouldResolveExternalEntities
Indicates whether the receiver reports declarations of external entities using the delegate method parser:foundExternalEntityDeclarationWithName:publicID:systemID:.
Return Value
YES if the receiver reports declarations of external entities, NO otherwise. The default value is NO.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hsystemID
Returns the system identifier of the external entity referenced in the XML document.
Discussion
You may invoke this method once a parsing operation has begun or after an error occurs.
Availability
- Available in OS X v10.3 and later.
See Also
Declared In
NSXMLParser.hConstants
NSXMLParserErrorDomain
This constant defines the NSXMLParser error domain.
NSString * const NSXMLParserErrorDomain
Constants
NSXMLParserErrorDomainIndicates an error in XML parsing.
Used by
NSError.Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.
Declared In
NSXMLParser.hNSXMLParserError
The following error types are defined by NSXMLParser.
enum {
NSXMLParserInternalError = 1,
NSXMLParserOutOfMemoryError = 2,
NSXMLParserDocumentStartError = 3,
NSXMLParserEmptyDocumentError = 4,
NSXMLParserPrematureDocumentEndError = 5,
NSXMLParserInvalidHexCharacterRefError = 6,
NSXMLParserInvalidDecimalCharacterRefError = 7,
NSXMLParserInvalidCharacterRefError = 8,
NSXMLParserInvalidCharacterError = 9,
NSXMLParserCharacterRefAtEOFError = 10,
NSXMLParserCharacterRefInPrologError = 11,
NSXMLParserCharacterRefInEpilogError = 12,
NSXMLParserCharacterRefInDTDError = 13,
NSXMLParserEntityRefAtEOFError = 14,
NSXMLParserEntityRefInPrologError = 15,
NSXMLParserEntityRefInEpilogError = 16,
NSXMLParserEntityRefInDTDError = 17,
NSXMLParserParsedEntityRefAtEOFError = 18,
NSXMLParserParsedEntityRefInPrologError = 19,
NSXMLParserParsedEntityRefInEpilogError = 20,
NSXMLParserParsedEntityRefInInternalSubsetError = 21,
NSXMLParserEntityReferenceWithoutNameError = 22,
NSXMLParserEntityReferenceMissingSemiError = 23,
NSXMLParserParsedEntityRefNoNameError = 24,
NSXMLParserParsedEntityRefMissingSemiError = 25,
NSXMLParserUndeclaredEntityError = 26,
NSXMLParserUnparsedEntityError = 28,
NSXMLParserEntityIsExternalError = 29,
NSXMLParserEntityIsParameterError = 30,
NSXMLParserUnknownEncodingError = 31,
NSXMLParserEncodingNotSupportedError = 32,
NSXMLParserStringNotStartedError = 33,
NSXMLParserStringNotClosedError = 34,
NSXMLParserNamespaceDeclarationError = 35,
NSXMLParserEntityNotStartedError = 36,
NSXMLParserEntityNotFinishedError = 37,
NSXMLParserLessThanSymbolInAttributeError = 38,
NSXMLParserAttributeNotStartedError = 39,
NSXMLParserAttributeNotFinishedError = 40,
NSXMLParserAttributeHasNoValueError = 41,
NSXMLParserAttributeRedefinedError = 42,
NSXMLParserLiteralNotStartedError = 43,
NSXMLParserLiteralNotFinishedError = 44,
NSXMLParserCommentNotFinishedError = 45,
NSXMLParserProcessingInstructionNotStartedError = 46,
NSXMLParserProcessingInstructionNotFinishedError = 47,
NSXMLParserNotationNotStartedError = 48,
NSXMLParserNotationNotFinishedError = 49,
NSXMLParserAttributeListNotStartedError = 50,
NSXMLParserAttributeListNotFinishedError = 51,
NSXMLParserMixedContentDeclNotStartedError = 52,
NSXMLParserMixedContentDeclNotFinishedError = 53,
NSXMLParserElementContentDeclNotStartedError = 54,
NSXMLParserElementContentDeclNotFinishedError = 55,
NSXMLParserXMLDeclNotStartedError = 56,
NSXMLParserXMLDeclNotFinishedError = 57,
NSXMLParserConditionalSectionNotStartedError = 58,
NSXMLParserConditionalSectionNotFinishedError = 59,
NSXMLParserExternalSubsetNotFinishedError = 60,
NSXMLParserDOCTYPEDeclNotFinishedError = 61,
NSXMLParserMisplacedCDATAEndStringError = 62,
NSXMLParserCDATANotFinishedError = 63,
NSXMLParserMisplacedXMLDeclarationError = 64,
NSXMLParserSpaceRequiredError = 65,
NSXMLParserSeparatorRequiredError = 66,
NSXMLParserNMTOKENRequiredError = 67,
NSXMLParserNAMERequiredError = 68,
NSXMLParserPCDATARequiredError = 69,
NSXMLParserURIRequiredError = 70,
NSXMLParserPublicIdentifierRequiredError = 71,
NSXMLParserLTRequiredError = 72,
NSXMLParserGTRequiredError = 73,
NSXMLParserLTSlashRequiredError = 74,
NSXMLParserEqualExpectedError = 75,
NSXMLParserTagNameMismatchError = 76,
NSXMLParserUnfinishedTagError = 77,
NSXMLParserStandaloneValueError = 78,
NSXMLParserInvalidEncodingNameError = 79,
NSXMLParserCommentContainsDoubleHyphenError = 80,
NSXMLParserInvalidEncodingError = 81,
NSXMLParserExternalStandaloneEntityError = 82,
NSXMLParserInvalidConditionalSectionError = 83,
NSXMLParserEntityValueRequiredError = 84,
NSXMLParserNotWellBalancedError = 85,
NSXMLParserExtraContentError = 86,
NSXMLParserInvalidCharacterInEntityError = 87,
NSXMLParserParsedEntityRefInInternalError = 88,
NSXMLParserEntityRefLoopError = 89,
NSXMLParserEntityBoundaryError = 90,
NSXMLParserInvalidURIError = 91,
NSXMLParserURIFragmentError = 92,
NSXMLParserNoDTDError = 94,
NSXMLParserDelegateAbortedParseError = 512
};
typedef NSInteger NSXMLParserError;
Constants
NSXMLParserInternalErrorThe parser object encountered an internal error.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserOutOfMemoryErrorThe parser object ran out of memory.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserDocumentStartErrorThe parser object is unable to start parsing.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEmptyDocumentErrorThe document is empty.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserPrematureDocumentEndErrorThe document ended unexpectedly.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidHexCharacterRefErrorInvalid hexadecimal character reference encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidDecimalCharacterRefErrorInvalid decimal character reference encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidCharacterRefErrorInvalid character reference encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidCharacterErrorInvalid character encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCharacterRefAtEOFErrorTarget of character reference cannot be found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCharacterRefInPrologErrorInvalid character found in the prolog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCharacterRefInEpilogErrorInvalid character found in the epilog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCharacterRefInDTDErrorInvalid character encountered in the DTD.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityRefAtEOFErrorTarget of entity reference is not found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityRefInPrologErrorInvalid entity reference found in the prolog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityRefInEpilogErrorInvalid entity reference found in the epilog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityRefInDTDErrorInvalid entity reference found in the DTD.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefAtEOFErrorTarget of parsed entity reference is not found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefInPrologErrorTarget of parsed entity reference is not found in prolog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefInEpilogErrorTarget of parsed entity reference is not found in epilog.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefInInternalSubsetErrorTarget of parsed entity reference is not found in internal subset.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityReferenceWithoutNameErrorEntity reference is without name.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityReferenceMissingSemiErrorEntity reference is missing semicolon.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefNoNameErrorParsed entity reference is without an entity name.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefMissingSemiErrorParsed entity reference is missing semicolon.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserUndeclaredEntityErrorEntity is not declared.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserUnparsedEntityErrorCannot parse entity.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityIsExternalErrorCannot parse external entity.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityIsParameterErrorEntity is a parameter.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserUnknownEncodingErrorDocument encoding is unknown.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEncodingNotSupportedErrorDocument encoding is not supported.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserStringNotStartedErrorString is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserStringNotClosedErrorString is not closed.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNamespaceDeclarationErrorInvalid namespace declaration encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityNotStartedErrorEntity is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityNotFinishedErrorEntity is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserLessThanSymbolInAttributeErrorAngle bracket is used in attribute.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeNotStartedErrorAttribute is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeNotFinishedErrorAttribute is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeHasNoValueErrorAttribute doesn’t contain a value.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeRedefinedErrorAttribute is redefined.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserLiteralNotStartedErrorLiteral is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserLiteralNotFinishedErrorLiteral is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCommentNotFinishedErrorComment is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserProcessingInstructionNotStartedErrorProcessing instruction is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserProcessingInstructionNotFinishedErrorProcessing instruction is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNotationNotStartedErrorNotation is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNotationNotFinishedErrorNotation is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeListNotStartedErrorAttribute list is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserAttributeListNotFinishedErrorAttribute list is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserMixedContentDeclNotStartedErrorMixed content declaration is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserMixedContentDeclNotFinishedErrorMixed content declaration is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserElementContentDeclNotStartedErrorElement content declaration is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserElementContentDeclNotFinishedErrorElement content declaration is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserXMLDeclNotStartedErrorXML declaration is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserXMLDeclNotFinishedErrorXML declaration is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserConditionalSectionNotStartedErrorConditional section is not started.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserConditionalSectionNotFinishedErrorConditional section is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserExternalSubsetNotFinishedErrorExternal subset is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserDOCTYPEDeclNotFinishedErrorDocument type declaration is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserMisplacedCDATAEndStringErrorMisplaced CDATA end string.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCDATANotFinishedErrorCDATA block is not finished.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserMisplacedXMLDeclarationErrorMisplaced XML declaration.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserSpaceRequiredErrorSpace is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserSeparatorRequiredErrorSeparator is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNMTOKENRequiredErrorName token is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNAMERequiredErrorName is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserPCDATARequiredErrorCDATA is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserURIRequiredErrorURI is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserPublicIdentifierRequiredErrorPublic identifier is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserLTRequiredErrorLeft angle bracket is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserGTRequiredErrorRight angle bracket is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserLTSlashRequiredErrorLeft angle bracket slash is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEqualExpectedErrorEqual sign expected.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserTagNameMismatchErrorTag name mismatch.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserUnfinishedTagErrorUnfinished tag found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserStandaloneValueErrorStandalone value found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidEncodingNameErrorInvalid encoding name found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserCommentContainsDoubleHyphenErrorComment contains double hyphen.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidEncodingErrorInvalid encoding.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserExternalStandaloneEntityErrorExternal standalone entity.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidConditionalSectionErrorInvalid conditional section.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityValueRequiredErrorEntity value is required.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNotWellBalancedErrorDocument is not well balanced.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserExtraContentErrorError in content found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidCharacterInEntityErrorInvalid character in entity found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserParsedEntityRefInInternalErrorInternal error in parsed entity reference found.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityRefLoopErrorEntity reference loop encountered.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserEntityBoundaryErrorEntity boundary error.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserInvalidURIErrorInvalid URI specified.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserURIFragmentErrorURI fragment.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserNoDTDErrorMissing DTD.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.NSXMLParserDelegateAbortedParseErrorDelegate aborted parse.
Available in OS X v10.3 and later.
Declared in
NSXMLParser.h.
Availability
- Available in OS X v10.3 and later.
Declared In
NSXMLParser.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-06-06)