List Info

Thread: fails to parse




fails to parse
user name
2006-05-19 10:55:58
Hello all
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%20fra
ncisco&st=CA"/>

It indicates:qxrssindex.xml:19: error: xmlParseEntityRef:
expecting ';'
I don't understand what this means, could someone please
help.
Thank you very much
Greger

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
fails to parse
user name
2006-05-19 13:46:19
* bossgregerhaga.net <bossgregerhaga.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%20fra
ncisco&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%20fra
ncisco&amp;st=CA"/>

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/&g
t;
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )