Callback function invoked by the parser to notify your application that an external entity has been referenced.
- macOS 10.0+
- Core Foundation
The CFXMLParser object making the callback.
The identifier for the external entity.
The program-defined context data you specified in the
CFXMLParserstructure when creating the parser.
The external entity or
NULL if it should not be resolved.
If this callback is not defined, the parser uses its internal routines to try and resolve the entity. Otherwise, if this callback returns NULL, a place holder for the external entity is inserted into the tree. In this manner, the parser's client can prevent any external network or file accesses. This callback is optional.