NSXMLParser - howto resolve entities defined in DTD
NSXMLParser - howto resolve entities defined in DTD
- Subject: NSXMLParser - howto resolve entities defined in DTD
- From: Dominik Pich <email@hidden>
- Date: Mon, 1 Jun 2009 00:31:30 +0200
Hi,
I use NSXMLParser to parse large XML files-- going good BUT :)
I cant get the parser to resolve the external entities from the DTD.
I googled and read documentation and older mails...
and I did set parser.shouldResolveExternalEntities = YES
I do get:
- (NSData *)parser:(AQXMLParser *)parser resolveExternalEntityName:
(NSString *)name systemID:(NSString *)systemID
but I have no idea what to return...
the entities are defined in the DTD...
if I could get the folowing for the entries in the DTD, I would just
build a table myself
- (void)parser:(AQXMLParser *)parser
foundInternalEntityDeclarationWithName:(NSString *)name value:
(NSString *)value;
Still, shouldnt NSXMLParser do entity substitution for me?
somehow... :)
In any case, I have no clue as to how to proceed
Dominik Pich
http://www.pich.info
_______________________________________________
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