Re: program termination after releasing self defined NSXMLParser class
Re: program termination after releasing self defined NSXMLParser class
- Subject: Re: program termination after releasing self defined NSXMLParser class
- From: Alexander Spohr <email@hidden>
- Date: Sun, 18 Apr 2010 19:42:54 +0200
Am 17.04.2010 um 18:44 schrieb Fritz Anderson:
> On 16 Apr 2010, at 11:34 AM, Alexander Spohr wrote:
>
>> That means that -parse does not block. It runs in the event loop.
>
> I have not found this to be the case. In the context of the documents, and of the customary terms for XML parsing, "event-driven" parsing, provided by NSXMLParser, means that the parser yields elements one-by-one as it steps through the source. You'll note from the paragraph after the one you quote that -[NSXMLParser parse] returns "YES if parsing is successful and NO in there is an error or if the parsing operation is aborted." This is impossible unless the parsing is done synchronously.
You are right. I confused NSXMLParser with another one I used recently.
Sorry for the noise.
atze
_______________________________________________
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