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

Re: NSXML Parsing Problem


  • Subject: Re: NSXML Parsing Problem
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 25 Mar 2010 22:14:49 -0700

On Mar 25, 2010, at 7:34 PM, Dave wrote:

> I was wondering if changing the XML charset would solve the problem? From searching the Web I think the problem could be that we are assuming UTF-8, I was wondering if we changed it to one of the ISO char sets if this would solve it.

No, it has nothing to do with character set. It sounds like the file is ASCII.

> Maybe a cool option for NSXML would be to be able to specify the & pound ; sequence and have it map it to whatever…….

Yes, that’s called a DTD in XML lingo. I don’t know if NSXMLParser supports those. Your documents would need to use some sort of DTD to be considered valid XML, due to the undefined entities.

—Jens


_______________________________________________

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: 
 >NSXML Parsing Problem (From: Dave <email@hidden>)
 >Re: NSXML Parsing Problem (From: Jens Alfke <email@hidden>)
 >Re: NSXML Parsing Problem (From: Dave <email@hidden>)

  • Prev by Date: Re: The fastest way to render bitmaps to screen in Cocoa on Snow Leopard?
  • Next by Date: Re: NSXMLDocument and threads
  • Previous by thread: Re: NSXML Parsing Problem
  • Next by thread: Sync .DS_Store files
  • Index(es):
    • Date
    • Thread