| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/Foundation.framework |
| Availability | Available in Mac OS X v10.3 and later. |
| Companion guide | |
| Declared in | NSXMLParser.h |
| Related sample code |
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.
Note: Namespace support was implemented in NSXMLParser for Mac OS X v10.4. Namespace-related methods of NSXMLParser prior to this version have no effect.
– setShouldProcessNamespaces:
– shouldProcessNamespaces
– setShouldReportNamespacePrefixes:
– shouldReportNamespacePrefixes
– setShouldResolveExternalEntities:
– shouldResolveExternalEntities
– parserDidStartDocument: delegate method
– parserDidEndDocument: delegate method
– parser:didStartElement:namespaceURI:qualifiedName:attributes: delegate method
– parser:didEndElement:namespaceURI:qualifiedName: delegate method
– parser:didStartMappingPrefix:toURI: delegate method
– parser:didEndMappingPrefix: delegate method
– parser:resolveExternalEntityName:systemID: delegate method
– parser:parseErrorOccurred: delegate method
– parser:validationErrorOccurred: delegate method
– parser:foundCharacters: delegate method
– parser:foundIgnorableWhitespace: delegate method
– parser:foundProcessingInstructionWithTarget:data: delegate method
– parser:foundComment: delegate method
– parser:foundCDATA: delegate method
– parser:foundAttributeDeclarationWithName:forElement:type:defaultValue: delegate method
– parser:foundElementDeclarationWithName:model: delegate method
– parser:foundExternalEntityDeclarationWithName:publicID:systemID: delegate method
– parser:foundInternalEntityDeclarationWithName:value: delegate method
– parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName: delegate method
– parser:foundNotationDeclarationWithName:publicID:systemID: delegate method
Stops the parser object.
- (void)abortParsing
If you invoke this method, the delegate, if it implements parser:parseErrorOccurred:, is informed of the cancelled parsing operation.
NSXMLParser.hReturns the column number of the XML document being processed by the receiver.
- (NSInteger)columnNumber
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.
NSXMLParser.hReturns the receiver’s delegate.
- (id)delegate
NSXMLParser.hInitializes the receiver with the XML content referenced by the given URL.
- (id)initWithContentsOfURL:(NSURL *)url
An NSURL object specifying a URL. The URL must be fully qualified and refer to a scheme that is supported by the NSURL class.
An initialized NSXMLParser object or nil if an error occurs.
NSXMLParser.hInitializes the receiver with the XML contents encapsulated in a given data object.
- (id)initWithData:(NSData *)data
An NSData object containing XML markup.
An initialized NSXMLParser object or nil if an error occurs.
This method is the designated initializer.
NSXMLParser.hReturns the line number of the XML document being processed by the receiver.
- (NSInteger)lineNumber
You may invoke this method once a parsing operation has begun or after an error occurs.
NSXMLParser.hStarts the event-driven parsing operation.
- (BOOL)parse
YES if parsing is successful and NO in there is an error or if the parsing operation is aborted.
NSXMLParser.hReturns an NSError object from which you can obtain information about a parsing error.
- (NSError *)parserError
You may invoke this method after a parsing operation abnormally terminates to determine the cause of error.
NSXMLParser.hReturns the public identifier of the external entity referenced in the XML document.
- (NSString *)publicID
You may invoke this method once a parsing operation has begun or after an error occurs.
NSXMLParser.hSets the receiver’s delegate.
- (void)setDelegate:(id)delegate
An object that is the new delegate. It is not retained.
NSXMLParser.hSpecifies whether the receiver reports the namespace and the qualified name of an element in related delegation methods .
- (void)setShouldProcessNamespaces:(BOOL)shouldProcessNamespaces
YES if the receiver should report the namespace and qualified name of each element, NO otherwise. The default value is NO.
The invoked delegation methods are parser:didStartElement:namespaceURI:qualifiedName:attributes: and parser:didEndElement:namespaceURI:qualifiedName:.
NSXMLParser.hSpecifies whether the receiver reports the scope of namespace declarations using related delegation methods.
- (void)setShouldReportNamespacePrefixes:(BOOL)shouldReportNamespacePrefixes
YES if the receiver should report the scope of namespace declarations, NO otherwise. The default value is NO.
The invoked delegation methods are parser:didStartMappingPrefix:toURI: and parser:didEndMappingPrefix:.
NSXMLParser.hSpecifies whether the receiver reports declarations of external entities using the delegate method parser:foundExternalEntityDeclarationWithName:publicID:systemID:.
- (void)setShouldResolveExternalEntities:(BOOL)shouldResolveExternalEntities
YES if the receiver should report declarations of external entities, NO otherwise. The default value is NO.
If you pass in YES, you may cause other I/O operations, either network-based or disk-based, to load the external DTD.
NSXMLParser.hIndicates whether the receiver reports the namespace and the qualified name of an element in related delegation methods.
- (BOOL)shouldProcessNamespaces
YES if the receiver reports namespace and qualified name, NO otherwise.
The invoked delegation methods are parser:didStartElement:namespaceURI:qualifiedName:attributes: and parser:didEndElement:namespaceURI:qualifiedName:.
NSXMLParser.hIndicates whether the receiver reports the prefixes indicating the scope of namespace declarations using related delegation methods.
- (BOOL)shouldReportNamespacePrefixes
YES if the receiver reports the scope of namespace declarations, NO otherwise. The default value is NO.
The invoked delegation methods are parser:didStartMappingPrefix:toURI: and parser:didEndMappingPrefix:.
NSXMLParser.hIndicates whether the receiver reports declarations of external entities using the delegate method parser:foundExternalEntityDeclarationWithName:publicID:systemID:.
- (BOOL)shouldResolveExternalEntities
YES if the receiver reports declarations of external entities, NO otherwise. The default value is NO.
NSXMLParser.hReturns the system identifier of the external entity referenced in the XML document.
- (NSString *)systemID
You may invoke this method once a parsing operation has begun or after an error occurs.
NSXMLParser.hSent by a parser object to its delegate when it encounters an end tag for a specific element.
- (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
A parser object.
A string that is the name of an element (in its end tag).
If namespace processing is turned on, contains the URI for the current namespace as a string object.
If namespace processing is turned on, contains the qualified name for the current namespace as a string object..
NSXMLParser.hSent by a parser object to its delegate when a given namespace prefix goes out of scope.
- (void)parser:(NSXMLParser *)parser didEndMappingPrefix:(NSString *)prefix
A parser object.
A string that is a namespace prefix.
The parser sends this message only when namespace-prefix reporting is turned on through the setShouldReportNamespacePrefixes: method.
NSXMLParser.hSent by a parser object to its delegate when it encounters a start tag for a given element.
- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict
A parser object.
A string that is the name of an element (in its start tag).
If namespace processing is turned on, contains the URI for the current namespace as a string object.
If namespace processing is turned on, contains the qualified name for the current namespace as a string object..
A dictionary that contains any attributes associated with the element. Keys are the names of attributes, and values are attribute values.
NSXMLParser.hSent by a parser object to its delegate the first time it encounters a given namespace prefix, which is mapped to a URI.
- (void)parser:(NSXMLParser *)parser didStartMappingPrefix:(NSString *)prefix toURI:(NSString *)namespaceURI
A parser object.
A string that is a namespace prefix.
A string that specifies a namespace URI.
The parser object sends this message only when namespace-prefix reporting is turned on through the setShouldReportNamespacePrefixes: method.
NSXMLParser.hSent by a parser object to its delegate when it encounters a declaration of an attribute that is associated with a specific element.
- (void)parser:(NSXMLParser *)parser foundAttributeDeclarationWithName:(NSString *)attributeName forElement:(NSString *)elementName type:(NSString *)type defaultValue:(NSString *)defaultValue
An NSXMLParser object parsing XML.
A string that is the name of an attribute.
A string that is the name of an element that has the attribute attributeName.
A string, such as "ENTITY", "NOTATION", or "ID", that indicates the type of the attribute.
A string that specifies the default value of the attribute.
NSXMLParser.hSent by a parser object to its delegate when it encounters a CDATA block.
- (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock
An NSXMLParser object parsing XML.
A data object containing a block of CDATA.
Through this method the parser object passes the contents of the block to its delegate in an NSData object. The CDATA block is character data that is ignored by the parser. The encoding of the character data is UTF-8. To convert the data object to a string object, use the NSString method initWithData:encoding:.
NSXMLParser.hSent by a parser object to provide its delegate with a string representing all or part of the characters of the current element.
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
A parser object.
A string representing the complete or partial textual content of the current element.
The parser object may send the delegate several parser:foundCharacters: messages to report the characters of an element. Because string may be only part of the total character content for the current element, you should append it to the current accumulation of characters until the element changes.
NSXMLParser.hSent by a parser object to its delegate when it encounters a comment in the XML.
- (void)parser:(NSXMLParser *)parser foundComment:(NSString *)comment
An NSXMLParser object parsing XML.
A string that is a the content of a comment in the XML.
NSXMLParser.hSent by a parser object to its delegate when it encounters a declaration of an element with a given model.
- (void)parser:(NSXMLParser *)parser foundElementDeclarationWithName:(NSString *)elementName model:(NSString *)model
An NSXMLParser object parsing XML.
A string that is the name of an element.
A string that specifies a model for elementName.
NSXMLParser.hSent by a parser object to its delegate when it encounters an external entity declaration.
- (void)parser:(NSXMLParser *)parser foundExternalEntityDeclarationWithName:(NSString *)entityName publicID:(NSString *)publicID systemID:(NSString *)systemID
An NSXMLParser object parsing XML.
A string that is the name of an entity.
A string that specifies the public ID associated with entityName.
A string that specifies the system ID associated with entityName.
– parser:foundInternalEntityDeclarationWithName:value:– parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:– parser:resolveExternalEntityName:systemID:NSXMLParser.hReported by a parser object to provide its delegate with a string representing all or part of the ignorable whitespace characters of the current element.
- (void)parser:(NSXMLParser *)parser foundIgnorableWhitespace:(NSString *)whitespaceString
A parser object.
A string representing all or part of the ignorable whitespace characters of the current element.
All the whitespace characters of the element (including carriage returns, tabs, and new-line characters) may not be provided through an individual invocation of this method. The parser may send the delegate several parser:foundIgnorableWhitespace: messages to report the whitespace characters of an element. You should append the characters in each invocation to the current accumulation of characters.
NSXMLParser.hSent by a parser object to the delegate when it encounters an internal entity declaration.
- (void)parser:(NSXMLParser *)parser foundInternalEntityDeclarationWithName:(NSString *)name value:(NSString *)value
An NSXMLParser object parsing XML.
A string that is the declared name of an internal entity.
A string that is the value of entity name.
– parser:foundExternalEntityDeclarationWithName:publicID:systemID:– parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:NSXMLParser.hSent by a parser object to its delegate when it encounters a notation declaration.
- (void)parser:(NSXMLParser *)parser foundNotationDeclarationWithName:(NSString *)name publicID:(NSString *)publicID systemID:(NSString *)systemID
An NSXMLParser object parsing XML.
A string that is the name of the notation.
A string specifying the public ID associated with the notation name.
A string specifying the system ID associated with the notation name.
NSXMLParser.hSent by a parser object to its delegate when it encounters a processing instruction.
- (void)parser:(NSXMLParser *)parser foundProcessingInstructionWithTarget:(NSString *)target data:(NSString *)data
A parser object.
A string representing the target of a processing instruction.
A string representing the data for a processing instruction.
NSXMLParser.hSent by a parser object to its delegate when it encounters an unparsed entity declaration.
- (void)parser:(NSXMLParser *)parser foundUnparsedEntityDeclarationWithName:(NSString *)name publicID:(NSString *)publicID systemID:(NSString *)systemID notationName:(NSString *)notationName
An NSXMLParser object parsing XML.
A string that is the name of the unparsed entity in the declaration.
A string specifying the public ID associated with the entity name.
A string specifying the system ID associated with the entity name.
A string specifying a notation of the declaration of entity name.
– parser:foundExternalEntityDeclarationWithName:publicID:systemID:– parser:foundInternalEntityDeclarationWithName:value:– parser:resolveExternalEntityName:systemID:NSXMLParser.hSent by a parser object to its delegate when it encounters a fatal error.
- (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
A parser object.
An NSError object describing the parsing error that occurred.
When this method is invoked, parsing is stopped. For further information about the error, you can query parseError or you can send the receiver a parserError message. You can also send the parser lineNumber and columnNumber messages to further isolate where the error occurred. Typically you implement this method to display information about the error to the user.
NSXMLParser.hSent by a parser object to its delegate when it encounters a given external entity with a specific system ID.
- (NSData *)parser:(NSXMLParser *)parser resolveExternalEntityName:(NSString *)entityName systemID:(NSString *)systemID
A parser object.
A string that specifies the external name of an entity.
A string that specifies the system ID for the external entity.
An NSData object that contains the resolution of the given external entity.
The delegate can resolve the external entity (for example, locating and reading an externally declared DTD) and provide the result to the parser object as an NSData object.
– parser:foundExternalEntityDeclarationWithName:publicID:systemID:– parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:NSXMLParser.hSent by a parser object to its delegate when it encounters a fatal validation error. NSXMLParser currently does not invoke this method and does not perform validation.
- (void)parser:(NSXMLParser *)parser validationErrorOccurred:(NSError *)validError
A parser object.
An NSError object describing the validation error that occurred.
If you want to validate an XML document, use the validation features of the NSXMLDocument class.
NSXMLParser.hSent by the parser object to the delegate when it has successfully completed parsing.
- (void)parserDidEndDocument:(NSXMLParser *)parser
A parser object.
NSXMLParser.hSent by the parser object to the delegate when it begins parsing a document.
- (void)parserDidStartDocument:(NSXMLParser *)parser
A parser object.
NSXMLParser.hThis constant defines the NSXMLParser error domain.
NSString * const NSXMLParserErrorDomain
NSXMLParserErrorDomainIndicates an error in XML parsing.
Used by NSError.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParser.hA type defined for the contants listed in “Parser Error Constants.”
typedef NSInteger NSXMLParserError;
NSXMLParser.hThe following error types are defined by NSXMLParser.
typedef 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
} NSXMLParserError;
NSXMLParserInternalErrorThe parser object encountered an internal error.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserOutOfMemoryErrorThe parser object ran out of memory.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserDocumentStartErrorThe parser object is unable to start parsing.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEmptyDocumentErrorThe document is empty.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserPrematureDocumentEndErrorThe document ended unexpectedly.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidHexCharacterRefErrorInvalid hexadecimal character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidDecimalCharacterRefErrorInvalid decimal character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidCharacterRefErrorInvalid character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidCharacterErrorInvalid character encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCharacterRefAtEOFErrorTarget of character reference cannot be found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCharacterRefInPrologErrorInvalid character found in the prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCharacterRefInEpilogErrorInvalid character found in the epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCharacterRefInDTDErrorInvalid character encountered in the DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityRefAtEOFErrorTarget of entity reference is not found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityRefInPrologErrorInvalid entity reference found in the prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityRefInEpilogErrorInvalid entity reference found in the epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityRefInDTDErrorInvalid entity reference found in the DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefAtEOFErrorTarget of parsed entity reference is not found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefInPrologErrorTarget of parsed entity reference is not found in prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefInEpilogErrorTarget of parsed entity reference is not found in epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefInInternalSubsetErrorTarget of parsed entity reference is not found in internal subset.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityReferenceWithoutNameErrorEntity reference is without name.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityReferenceMissingSemiErrorEntity reference is missing semicolon.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefNoNameErrorParsed entity reference is without an entity name.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefMissingSemiErrorParsed entity reference is missing semicolon.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserUndeclaredEntityErrorEntity is not declared.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserUnparsedEntityErrorCannot parse entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityIsExternalErrorCannot parse external entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityIsParameterErrorEntity is a parameter.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserUnknownEncodingErrorDocument encoding is unknown.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEncodingNotSupportedErrorDocument encoding is not supported.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserStringNotStartedErrorString is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserStringNotClosedErrorString is not closed.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNamespaceDeclarationErrorInvalid namespace declaration encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityNotStartedErrorEntity is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityNotFinishedErrorEntity is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserLessThanSymbolInAttributeErrorAngle bracket is used in attribute.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeNotStartedErrorAttribute is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeNotFinishedErrorAttribute is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeHasNoValueErrorAttribute doesn’t contain a value.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeRedefinedErrorAttribute is redefined.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserLiteralNotStartedErrorLiteral is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserLiteralNotFinishedErrorLiteral is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCommentNotFinishedErrorComment is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserProcessingInstructionNotStartedErrorProcessing instruction is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserProcessingInstructionNotFinishedErrorProcessing instruction is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNotationNotStartedErrorNotation is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNotationNotFinishedErrorNotation is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeListNotStartedErrorAttribute list is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserAttributeListNotFinishedErrorAttribute list is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserMixedContentDeclNotStartedErrorMixed content declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserMixedContentDeclNotFinishedErrorMixed content declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserElementContentDeclNotStartedErrorElement content declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserElementContentDeclNotFinishedErrorElement content declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserXMLDeclNotStartedErrorXML declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserXMLDeclNotFinishedErrorXML declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserConditionalSectionNotStartedErrorConditional section is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserConditionalSectionNotFinishedErrorConditional section is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserExternalSubsetNotFinishedErrorExternal subset is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserDOCTYPEDeclNotFinishedErrorDocument type declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserMisplacedCDATAEndStringErrorMisplaced CDATA end string.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCDATANotFinishedErrorCDATA block is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserMisplacedXMLDeclarationErrorMisplaced XML declaration.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserSpaceRequiredErrorSpace is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserSeparatorRequiredErrorSeparator is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNMTOKENRequiredErrorName token is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNAMERequiredErrorName is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserPCDATARequiredErrorCDATA is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserURIRequiredErrorURI is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserPublicIdentifierRequiredErrorPublic identifier is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserLTRequiredErrorLeft angle bracket is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserGTRequiredErrorRight angle bracket is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserLTSlashRequiredErrorLeft angle bracket slash is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEqualExpectedErrorEqual sign expected.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserTagNameMismatchErrorTag name mismatch.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserUnfinishedTagErrorUnfinished tag found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserStandaloneValueErrorStandalone value found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidEncodingNameErrorInvalid encoding name found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserCommentContainsDoubleHyphenErrorComment contains double hyphen.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidEncodingErrorInvalid encoding.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserExternalStandaloneEntityErrorExternal standalone entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidConditionalSectionErrorInvalid conditional section.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityValueRequiredErrorEntity value is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNotWellBalancedErrorDocument is not well balanced.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserExtraContentErrorError in content found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidCharacterInEntityErrorInvalid character in entity found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserParsedEntityRefInInternalErrorInternal error in parsed entity reference found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityRefLoopErrorEntity reference loop encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserEntityBoundaryErrorEntity boundary error.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserInvalidURIErrorInvalid URI specified.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserURIFragmentErrorURI fragment.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserNoDTDErrorMissing DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParserDelegateAbortedParseErrorDelegate aborted parse.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.
NSXMLParser.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-02-02)