• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLParser


  • Subject: Re: NSXMLParser
  • From: Andreas Vögele <email@hidden>
  • Date: Sun, 6 Jun 2004 20:16:18 +0200

Ryan McGann writes:

libxml (http://www.xmlsoft.org) comes installed with Panther, and it's what NSMXLParser is probably built on (the APIs are similar enough anyway). I imagine the issues you're having have to do with NSXMLParser, not libxml, since libxml is probably one of the most well-tested XML frameworks out there and is used in many different products.

I'm less enthusiastic about libxml. For example, libxml 2.6.7 can no longer be used to parse XML streams, e.g. Jabber protocol messages. In order to avoid a bug, the libxml developers came up with a hack that delays the reporting of XML elements until the start of the next element. IMHO the new behaviour is worse than the bug the libxml developers tried to fix.

I decided to switch to Expat which is available at http://expat.sourceforge.net/. Expat is released under a MIT-style license. There's also an Objective-C wrapper available at http://expatobjc.sourceforge.net/ but I haven't used that wrapper yet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: NSXMLParser (From: Ryan McGann <email@hidden>)

  • Prev by Date: Re: NSObjectController HELP
  • Next by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: NSXMLParser
  • Next by thread: Re: very sluggish editing
  • Index(es):
    • Date
    • Thread