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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to