Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KML with empty tags breaks parser in Safari #12

Closed
GoogleCodeExporter opened this issue Mar 28, 2016 · 2 comments
Closed

KML with empty tags breaks parser in Safari #12

GoogleCodeExporter opened this issue Mar 28, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

at line 439 in timemap.js, it says

 if (nList.length > 0) {
           data["options"]["description"] = nList[0].firstChild.nodeValue;
       }

this gives an error in Safari if the file has <description></description>

Probably anything that uses this construct may need an extra check to
ensure that the tag isn't empty - perhaps move this out to a utility function?

Original issue reported on code.google.com by nick.rab...@gmail.com on 19 Mar 2008 at 3:17

@GoogleCodeExporter
Copy link
Author

Original comment by nick.rab...@gmail.com on 9 May 2010 at 6:51

  • Added labels: Milestone-1.6

@GoogleCodeExporter
Copy link
Author

Can't reproduce in the latest version of Sarafi (Windows), so closing.

Original comment by nick.rab...@gmail.com on 16 Jun 2010 at 8:00

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant