• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSXMLParser - howto resolve entities defined in DTD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: MSN preference
  • Next by Date: NSTextFieldCell Subclass Not Showing Text
  • Previous by thread: Re: MSN preference
  • Next by thread: NSTextFieldCell Subclass Not Showing Text
  • Index(es):
    • Date
    • Thread