I am parsing a weather data feed and it works with certain locations but errors out with this message on some locations:
09-22 10:40:33.364: WARN/System.err(3347): org.apache.harmony.xml.ExpatParser$ParseException: At line 465, column 29: not well-formed (invalid token)
Any ideas what might be happening?
Here is a snippet of the xml:
<hour time="11 AM">
<url>http://www.....</url>
<obsdate>9/22/2010</obsdate>
<txtshort>Parcialmente soleado</txtshort>
<weathericon>03</weathericon>
<temperature>26</temperature>
<feelslike>29</feelslike>
</hour>
<hour time="12 PM">
<url>http://www.....</url>
<obsdate>9/22/2010</obsdate>
<txtshort>Parcialmente soleado</txtshort>
<weathericon>03</weathericon>
<temperature>26</temperature>
<feelslike>29</feelslike>
</hour>
Line 465 is the 'hour' tag with the 12pm attribute value. I have logged parse code and it is reading the xml up until it reaches this line.