Error with KML file
alanburke - March 16, 2007 - 20:05
| Project: | Google Earth |
| Version: | 5.x-5.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | bonvga |
| Status: | closed |
Description
First up, great Module! Can't wait to get it working.
I have managed to get the KML file generated, but Google Earth is throwing an error when I try to launch it.
Open of File "..path/to/file/ google_earth.kml" failed. Parse errorm at line 39981, column 0: no element found"Here is what the last few lines of the KML looks like
the line mentioned is at the end of the file..
</Icon>
</IconStyle>
<LabelStyle>
<scale>1.0000577975</scale>
</LabelStyle>
</Style>
<Point>
<coordinates>-72.6835,41.769,0</coordinates>
</Point>
</Placemark>Using version of the Module for Drupal 5.
Google Earth version
4.0.2737.
Alan

#1
The attached patch fixes this
#2
I am sorry, my previous patch was a mistake.
It does fix the generated file to be a valid kml file, but it destroys the downloaded file through http:///?q=google_earth.
The link above should generate a valid kml.
#3
Hi,
I've fixed a lot of thing on the next release (http://drupal.org/cvs?commit=67109)
Could you do another test with this release ?
Thank's again.
#4
Great Work,
The Module now works!
I'll follow up on my promise to provide some better docs, if desired, shortly
Alan
#5
Changing status, original error now fixed
#6