NationStates Jolt Archive


Problem with the XML feed for the region "Imperial Euro

Guvner
28-05-2004, 09:54
Problem with the XML feed for the region "Imperial Europe". When viewed in a browser it shows:

XML Parsing Error: not well-formed
Location: http://www.nationstates.net/cgi-bin/regiondata.cgi/region=imperial_europe
Line Number 6, Column 142:

I viewed the source and got the info I needed, but this might be worth looking at anyway. Not seeing it anywhere else.
New Cyberia
28-05-2004, 10:18
I think it might be because you're using an "&" symbol in your region description. Most XML parsers don't like that symbol as it's used for tags.

This happens in nation files as well when they use extended character set characters in their mottos. For example Salchara in my region meant I had to write an "if else" clause to stop the script from parsing his motto when I read in the data.