• 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: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.


  • Subject: Re: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
  • From: Frederick Cheung <email@hidden>
  • Date: Sat, 19 Mar 2005 14:32:21 +0000


On 19 Mar 2005, at 09:58, Scott Andrew wrote:

CXMLTreeRef dataTree = CFXMLTreeCreateFromData (kCFAllocatorDefault,
(CDataRef)result,
NULL,
kCFXMLParserSkipWhitespace,
kCFXMLNodeCurrentVersion)


My dataTree is NULL. I can convert my data to string and see the XML.
Getting the XML from a URL is not an option since I have to be logged into
the server with cookies.


I'd try using CFXMLTreeCreateFromDataWithError so that you can see exactly what the parser doesn't like about the data you are feeding it.

Fred

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
      • From: Scott Andrew <email@hidden>
References: 
 >Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response. (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: sigbus error 10 (newbie)
  • Next by Date: Re: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
  • Previous by thread: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
  • Next by thread: Re: Help with CFXMLTreeCreateFromData with an NSMutableURLRequest response.
  • Index(es):
    • Date
    • Thread