• 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: NSXMLParser useless with HUGE files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLParser useless with HUGE files


  • Subject: Re: NSXMLParser useless with HUGE files
  • From: John Stiles <email@hidden>
  • Date: Wed, 14 Dec 2005 09:40:43 -0800


Matt Gough wrote:


On 14 Dec 2005, at 15:43, Annard Brouwer wrote:

Maybe Expat might be useful here (<http://www.cocoabuilder.com/ archive/message/cocoa/2005/10/6/147666>).


Thanks, but looking through its source it also wants to bring in all the data before it starts.

Expat allows you to process large files in smal chunks. Just call XML_Parse repeatedly, each time providing as much or as little data as necessary. This allows unlimited size XML to be processed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >NSXMLParser useless with HUGE files (From: Matt Gough <email@hidden>)
 >Re: NSXMLParser useless with HUGE files (From: Annard Brouwer <email@hidden>)
 >Re: NSXMLParser useless with HUGE files (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: Can I Send Apple Events in Cocoa?
  • Next by Date: Re: NSAppleScript init is really, really slow when attached to gdb?
  • Previous by thread: Re: NSXMLParser useless with HUGE files
  • Next by thread: Re: NSXMLParser useless with HUGE files
  • Index(es):
    • Date
    • Thread