NSXMLParser and character entities?
NSXMLParser and character entities?
- Subject: NSXMLParser and character entities?
- From: Kai <email@hidden>
- Date: Fri, 12 Sep 2008 23:56:36 +0200
When NSXMLParser hits a character entity like ä (-> German umlaut
'ä'), it sends parser:resolveExternalEntityName:systemID: to its
delegate and if this is not implemented or returns nil,
parser:parseErrorOccurred: is called with
NSXMLParserUndeclaredEntityError.
Am I supposed to resolve all these character entities myself? And if
so, what should the NSData object returned by
parser:resolveExternalEntityName:systemID: contain? Unicode? Which
Unicode encoding?
But this can’t be, can it? I must be missing something simple.
Thanks for any hints
Kai
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden