Contents

CFXMLParserAbort

Causes a parser to abort with the given error code and description.

Declaration

extern void CFXMLParserAbort(CFXMLParserRef parser, CFXMLParserStatusCode errorCode, CFStringRef errorDescription);

Parameters

  • parser:

    The parser to abort.

  • errorCode:

    The error code to return to the parser.

  • errorDescription:

    The error description string to return to the parser. This value may not be NULL.

Discussion

This function cannot be called asynchronously. In other words, it must be called from within a parser callback function.

See Also

CFXMLParser Miscellaneous Functions