• 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: Tiger bug on NSXMLParser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger bug on NSXMLParser?


  • Subject: Re: Tiger bug on NSXMLParser?
  • From: "Lorenzo Thurman" <email@hidden>
  • Date: Tue, 29 Apr 2008 08:27:31 -0500

Have you tried loading the data first, and then parsing it? Does the data
> > look reasonable, i.e. can you convert it to an NSString using the expected
> > encoding?
> >
>
I tried loading the XML into an NSString using
initWithContentsOfURL:encoding:error using Latin1 encoding. Under Leopard,
the XML is read in just fine. I can output the resulting string in the
debugger and it looks good and is parsed just fine. Under Tiger, the string
is just a bunch of unicode escape sequences and results in another empty
document error after running through NSXMLParser. I'm running on PPC with
10.4.11, if that matters at all.



--
"My break-dancing days are over, but there's always the funky chicken"
--The Full Monty
_______________________________________________

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: Tiger bug on NSXMLParser?
      • From: Jens Alfke <email@hidden>
References: 
 >Tiger bug on NSXMLParser? (From: "Lorenzo Thurman" <email@hidden>)
 >Re: Tiger bug on NSXMLParser? (From: Jens Alfke <email@hidden>)
 >Re: Tiger bug on NSXMLParser? (From: "Lorenzo Thurman" <email@hidden>)

  • Prev by Date: NSTokenField
  • Next by Date: Re: Snazzy open-source slideshow controls
  • Previous by thread: Re: Tiger bug on NSXMLParser?
  • Next by thread: Re: Tiger bug on NSXMLParser?
  • Index(es):
    • Date
    • Thread