• 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
Unable to parse special characters using NSXMLParser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to parse special characters using NSXMLParser


  • Subject: Unable to parse special characters using NSXMLParser
  • From: JanakiRam <email@hidden>
  • Date: Thu, 16 Oct 2008 23:53:34 +0530

Hi All,
I'm having problems with NSXMLParser while parsing XML File which contain
some special characters or Non-UTF8 Characters,

My application will get the XML Document data from my server.  I'm creating
the NSXMLParser with NSData received from Server. Some times it could be
possible that received NSData may contain special characters such as "Ä?" ,
then parser stops itself and returns an error saying Invalid Character
Found. Here is the Exact Error am receiving ---

*NSXMLParserErrorDomain error 9*

Please provide your valuable suggestions to solve the problem.

Thanks in Advance.

JanakiRam
_______________________________________________

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

  • Follow-Ups:
    • Re: Unable to parse special characters using NSXMLParser
      • From: Dave Carrigan <email@hidden>
  • Prev by Date: Re: NSTokenField: Tokenizing on Right Arrow key
  • Next by Date: Get service requester application name
  • Previous by thread: Re: Format Specifier Problem
  • Next by thread: Re: Unable to parse special characters using NSXMLParser
  • Index(es):
    • Date
    • Thread