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.h
Returns 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.h
Returns the receiver’s delegate.
- (id)delegate
NSXMLParser.h
Initializes 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.h
Initializes 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.h
Returns 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.h
Starts 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.h
Returns 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.h
Returns 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.h
Sets the receiver’s delegate.
- (void)setDelegate:(id)delegate
An object that is the new delegate. It is not retained.
NSXMLParser.h
Specifies 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.h
Specifies 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.h
Specifies 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.h
Indicates 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.h
Indicates 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.h
Indicates 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.h
Returns 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Reported 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent 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.h
Sent by the parser object to the delegate when it has successfully completed parsing.
- (void)parserDidEndDocument:(NSXMLParser *)parser
A parser object.
NSXMLParser.h
Sent by the parser object to the delegate when it begins parsing a document.
- (void)parserDidStartDocument:(NSXMLParser *)parser
A parser object.
NSXMLParser.h
This constant defines the NSXMLParser
error domain.
NSString * const NSXMLParserErrorDomain
NSXMLParserErrorDomain
Indicates an error in XML parsing.
Used by NSError
.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParser.h
A type defined for the contants listed in “Parser Error Constants.”
typedef NSInteger NSXMLParserError;
NSXMLParser.h
The 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;
NSXMLParserInternalError
The parser object encountered an internal error.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserOutOfMemoryError
The parser object ran out of memory.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserDocumentStartError
The parser object is unable to start parsing.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEmptyDocumentError
The document is empty.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserPrematureDocumentEndError
The document ended unexpectedly.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidHexCharacterRefError
Invalid hexadecimal character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidDecimalCharacterRefError
Invalid decimal character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidCharacterRefError
Invalid character reference encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidCharacterError
Invalid character encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCharacterRefAtEOFError
Target of character reference cannot be found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCharacterRefInPrologError
Invalid character found in the prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCharacterRefInEpilogError
Invalid character found in the epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCharacterRefInDTDError
Invalid character encountered in the DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityRefAtEOFError
Target of entity reference is not found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityRefInPrologError
Invalid entity reference found in the prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityRefInEpilogError
Invalid entity reference found in the epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityRefInDTDError
Invalid entity reference found in the DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefAtEOFError
Target of parsed entity reference is not found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefInPrologError
Target of parsed entity reference is not found in prolog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefInEpilogError
Target of parsed entity reference is not found in epilog.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefInInternalSubsetError
Target of parsed entity reference is not found in internal subset.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityReferenceWithoutNameError
Entity reference is without name.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityReferenceMissingSemiError
Entity reference is missing semicolon.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefNoNameError
Parsed entity reference is without an entity name.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefMissingSemiError
Parsed entity reference is missing semicolon.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserUndeclaredEntityError
Entity is not declared.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserUnparsedEntityError
Cannot parse entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityIsExternalError
Cannot parse external entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityIsParameterError
Entity is a parameter.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserUnknownEncodingError
Document encoding is unknown.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEncodingNotSupportedError
Document encoding is not supported.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserStringNotStartedError
String is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserStringNotClosedError
String is not closed.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNamespaceDeclarationError
Invalid namespace declaration encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityNotStartedError
Entity is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityNotFinishedError
Entity is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserLessThanSymbolInAttributeError
Angle bracket is used in attribute.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeNotStartedError
Attribute is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeNotFinishedError
Attribute is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeHasNoValueError
Attribute doesn’t contain a value.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeRedefinedError
Attribute is redefined.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserLiteralNotStartedError
Literal is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserLiteralNotFinishedError
Literal is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCommentNotFinishedError
Comment is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserProcessingInstructionNotStartedError
Processing instruction is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserProcessingInstructionNotFinishedError
Processing instruction is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNotationNotStartedError
Notation is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNotationNotFinishedError
Notation is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeListNotStartedError
Attribute list is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserAttributeListNotFinishedError
Attribute list is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserMixedContentDeclNotStartedError
Mixed content declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserMixedContentDeclNotFinishedError
Mixed content declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserElementContentDeclNotStartedError
Element content declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserElementContentDeclNotFinishedError
Element content declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserXMLDeclNotStartedError
XML declaration is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserXMLDeclNotFinishedError
XML declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserConditionalSectionNotStartedError
Conditional section is not started.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserConditionalSectionNotFinishedError
Conditional section is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserExternalSubsetNotFinishedError
External subset is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserDOCTYPEDeclNotFinishedError
Document type declaration is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserMisplacedCDATAEndStringError
Misplaced CDATA end string.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCDATANotFinishedError
CDATA block is not finished.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserMisplacedXMLDeclarationError
Misplaced XML declaration.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserSpaceRequiredError
Space is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserSeparatorRequiredError
Separator is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNMTOKENRequiredError
Name token is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNAMERequiredError
Name is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserPCDATARequiredError
CDATA is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserURIRequiredError
URI is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserPublicIdentifierRequiredError
Public identifier is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserLTRequiredError
Left angle bracket is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserGTRequiredError
Right angle bracket is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserLTSlashRequiredError
Left angle bracket slash is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEqualExpectedError
Equal sign expected.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserTagNameMismatchError
Tag name mismatch.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserUnfinishedTagError
Unfinished tag found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserStandaloneValueError
Standalone value found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidEncodingNameError
Invalid encoding name found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserCommentContainsDoubleHyphenError
Comment contains double hyphen.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidEncodingError
Invalid encoding.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserExternalStandaloneEntityError
External standalone entity.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidConditionalSectionError
Invalid conditional section.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityValueRequiredError
Entity value is required.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNotWellBalancedError
Document is not well balanced.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserExtraContentError
Error in content found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidCharacterInEntityError
Invalid character in entity found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserParsedEntityRefInInternalError
Internal error in parsed entity reference found.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityRefLoopError
Entity reference loop encountered.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserEntityBoundaryError
Entity boundary error.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserInvalidURIError
Invalid URI specified.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserURIFragmentError
URI fragment.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserNoDTDError
Missing DTD.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h
.
NSXMLParserDelegateAbortedParseError
Delegate 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)