Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Keary Suska
On Jun 1, 2009, at 4:03 PM, Keary Suska wrote: All external entities must be declared in the core XML. If they aren't, your XML is not well-formed. Correction, this would not be the case for declarations in a DTD, which are part of the external subset, so the first delegate message should

Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Keary Suska
On Jun 1, 2009, at 1:43 PM, Dominik Pich wrote: :) thanks but . it doesnt work for me. I read all that about NSParser just calling you back. I implemented all the delegates BUT I dont seem to be getting an appropriate callback for the Entities in the DTD, although I did set 'shouldResol

Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Greg Guerin
Dominik Pich wrote: I get that messages asking me to PROVIDE a substitution for an entity But I never get the messages FOR the declaration of the entities, so I dont know WHAT to return as data. When something like this happens, i.e. "I've set my delegate, but it's not getting called", it

Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Jeffrey Oleander
> On Mon, 2009/06/01, Keary Suska wrote: > From: Keary Suska > Subject: Re: NSXMLParser - howto resolve entities defined in DTD > To: "Cocoa-Dev (Apple)" > Date: Monday, 2009 June 1, 10:16 >> On 2009 May 31, at 4:31 PM, Dominik Pich wrote: >> I use NSXMLPa

Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Dominik Pich
:) thanks but . it doesnt work for me. I read all that about NSParser just calling you back. I implemented all the delegates BUT I dont seem to be getting an appropriate callback for the Entities in the DTD, although I did set 'shouldResolveExternalEntities = YES' I get that messages ask

Re: NSXMLParser - howto resolve entities defined in DTD

2009-06-01 Thread Keary Suska
On May 31, 2009, at 4:31 PM, Dominik Pich wrote: 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

NSXMLParser - howto resolve entities defined in DTD

2009-05-31 Thread Dominik Pich
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