• 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
NSXMLParser choking on single quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSXMLParser choking on single quotes


  • Subject: NSXMLParser choking on single quotes
  • From: email@hidden
  • Date: Thu, 12 Nov 2009 12:08:20 +0000 (UTC)

Hi


I'm using NSXMLParser to parse XML output from Microsoft Word and am finding that if a string contains a single quote, the parser is only giving me the part of the string from the single quote onward. For example given the following string:


"The topic of Jim's discussion was on the yeti crab"


the parser would only give me:


"'s discussion was on the yeti crab"


I looked at the NSXMLParser docs but didn't see any options for customizing how it handles special characters. Is there some trick I'm missing?


Thanks for any help
_______________________________________________

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

  • Prev by Date: Re: -[NSString stringWithCString:encoding:] memory management question
  • Next by Date: Re: [MEET] CocoaHeads-NYC this Thursday, 11/12 (tonight)
  • Previous by thread: Re: Connecting up a drop down menu
  • Next by thread: Re: NSXMLParser choking on single quotes
  • Index(es):
    • Date
    • Thread