Length wrote: > I have the following KML file, and when posting it for viewing in > google maps, it says not valid. > > The KML > http://www.impactmedia.com.au/jobs/kml/25/ > look at the above link in internet explorer you have invalid xml
internet explorer looks like its freaking out where you have html embeded in the kml description (note to be correct xml you want to wrap that html in CDATA tags. > The KML link to view it in Google Maps: > http://maps.google.com.au/maps?q=http://www.impactmedia.com.au/jobs/kml/25/ > > I have another, less complicated one: > > http://www.impactmedia.com.au/jobs/kml/22/ > > Both open fine in Earth. > google maps uses xml parsers built in to the browser Google Earth uses a very loose sax parser that will by default forgive a lot of errors. > The KML was created in Google maps, then saved to a physical KML file, > http://www.impactmedia.com.au/jobs/kml/25/ Firefox tells me your content encoding is wrong. Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. * Please contact the website owners to inform them of this problem. > which opens fine in Google Earth, and is then save to the website > database and regurgitated here. > > When I built this I checked it all off to ensure it worked, so either > something has changed I dont know about or I didnt test very well. > > Can anyone give me a clue as to why Maps doesnt like it? > your browsers will give you the clues. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
