• 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: Unable to parse xml
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to parse xml


  • Subject: Re: Unable to parse xml
  • From: John Stiles <email@hidden>
  • Date: Fri, 08 Sep 2006 08:15:23 -0700

It doesn't open a tag, though, it's just character data.
I think this XML file is wrapping a second XML file. The wrapped file appears as a blob of character data. I don't know if this was what the OP was hoping for or not, though :)



I. Savant wrote:

The escaped "&lt;" is valid? Neat! Learn something new every day. :-)

--
I.S.


On Sep 8, 2006, at 10:50 AM, Pascal Pochet wrote:


Le 08-sept.-06 à 16:19, I. Savant a écrit :


Your XML is invalid. Note the lines that begin with "&lt;". It's escaping the "<" character, rather than using it literally. Wherever source you're getting this from, it's mangling the XML.


--
I.S.



Wrong:
copy paste it in a text file and run xmllint on it…
this is perfectly valid XML.

The "problem" is XML inside XML:
the text content of GetWeatherResult tag is an "escaped" XML document…
so if you want to access to its content as XML,
you should unescape it and then re-run a new parser on it…

Pascal Pochet
email@hidden



_______________________________________________
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

_______________________________________________ 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
_______________________________________________
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:
    • How to Post arguments
      • From: "Manoj_Agrawal" <email@hidden>
    • Help
      • From: "Manoj_Agrawal" <email@hidden>
    • Re: Unable to parse xml
      • From: "I. Savant" <email@hidden>
References: 
 >Unable to parse xml (From: "Anthony Mittaz" <email@hidden>)
 >Re: Unable to parse xml (From: "I. Savant" <email@hidden>)
 >Re: Unable to parse xml (From: Pascal Pochet <email@hidden>)
 >Re: Unable to parse xml (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: [CodeData] Generic model migration code?
  • Next by Date: Re: Unable to parse xml
  • Previous by thread: Re: Unable to parse xml
  • Next by thread: Re: Unable to parse xml
  • Index(es):
    • Date
    • Thread