If I use NSXMLParser (on 10.6.5) to parse xml data that looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE docData SYSTEM "docData.dtd">
<docData>
        [elements omitted]
</docData>

and if I have sent the parser a setShouldResolveExternalEntities:YES message, I 
would expect the parser delegate message 

parser:resolveExternalEntityName:systemID:

 to fire, as described in Event-Driven XML Programming Guide. Instead, 
parser:parseErrorOccurred: gives an error with this description:

Error Domain=NSXMLParserErrorDomain Code=1549 "The operation couldn’t be 
completed. (NSXMLParserErrorDomain error 1549.)

Where did I go wrong?

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to