Add a first pass attempt to a KML validator
Add a first pass attempt to a KML validator

This is a simple implementation to try to validate the pasted KML as valid XML.
A more sophisticated parers (like https://github.com/mapbox/togeojson) would
attempt to validate the XML as a KML document.

mapswipe/mapswipe.github.io,mapswipe/mapswipe.github.io