Error Dictionary Keys

The keys used in an error dictionary returned by some functions to provide more information about XML parse errors.

Overview

These keys are used in the error dictionary returned by the CFXMLTreeCreateFromDataWithError function.

Topics

Constants

kCFXMLTreeErrorDescription

Dictionary key whose value is a CFString containing a readable description of the error.

kCFXMLTreeErrorLineNumber

Dictionary key whose value is a CFNumber containing the line number where the error was detected. This may not be the line number where the actual XML error is located.

kCFXMLTreeErrorLocation

Dictionary key whose value is a CFNumber containing the byte location where the error was detected.

kCFXMLTreeErrorStatusCode

Dictionary key whose value is a CFNumber containing the error status code. See CFXMLParser for possible status code values.