php - error parsing XML file to google maps (XML Parsing Error: junk after document element) -


i have problem xml file loads google maps markers. map works postal codes doesn't work others.

these xml files. first 1 works fine. second 1 doesn't. gives "xml parsing error: junk after document element" error.

  1. www.soshapal.com/maptst.php?lat=45.5001031&lng=-73.57686610000002&radius=5km&country_id=2&city_id=30&section_id=2

  2. www.soshapal.com/maptst.php?lat=45.4932559&lng=-73.57964709999999&radius=5km&country_id=2&city_id=30&section_id=2

can help?

your xml creation script attempting inform of errors:

<br /> <b>warning</b>:  domelement::setattribute() [<a href='domelement.setattribute'>domelement.setattribute</a>]: string not in utf-8 in <b>/home/vozemg0/public_html/soshapal.com/maptst.php</b> on line <b>44</b><br /> <br /> <b>warning</b>:  domelement::setattribute() [<a href='domelement.setattribute'>domelement.setattribute</a>]: string not in utf-8 in <b>/home/vozemg0/public_html/soshapal.com/maptst.php</b> on line <b>44</b><br /> <br /> <b>warning</b>:  domdocument::savexml() [<a href='domdocument.savexml'>domdocument.savexml</a>]: output conversion failed due conv error, bytes 0xe9 0x61 0x6c 0x2c in <b>/home/vozemg0/public_html/soshapal.com/maptst.php</b> on line <b>64</b><br /> 

those messages making xml invalid.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -