Re: [xml] fails to parse



* boss gregerhaga net <boss gregerhaga net> [2006-05-19 13:00]:
I am parsing a xml file containing urls. The problem is that it
fails to parse some urls, for example the following:
<feed url="www.preferredjobs.com/rss/rss2.asp?city=san%20francisco&st=CA"/>

Your XML file is broken. You have an unencoded ampersand. It
needs to be

    <feed url="www.preferredjobs.com/rss/rss2.asp?city=san%20francisco&amp;st=CA"/>

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]