• 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
Re: program termination after releasing self defined NSXMLParser class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >program termination after releasing self defined NSXMLParser class (From: Dominic Dauer <email@hidden>)
 >Re: program termination after releasing self defined NSXMLParser class (From: Alexander Spohr <email@hidden>)
 >Re: program termination after releasing self defined NSXMLParser class (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Weird CGFloat issue
  • Next by Date: Re: Weird CGFloat issue
  • Previous by thread: Re: program termination after releasing self defined NSXMLParser class
  • Next by thread: Does XCode 3.2 Documentation Browser Stink?
  • Index(es):
    • Date
    • Thread