Mismatched Tag Eroor

1,463 views
Skip to first unread message

Kapi

unread,
Sep 7, 2012, 8:07:27 AM9/7/12
to kml-suppor...@googlegroups.com
Hi All
I get a error which says unable to open
parse error...
Mismatched tag
Please Please help


Jason M

unread,
Sep 8, 2012, 9:28:11 AM9/8/12
to kml-suppor...@googlegroups.com
Hi. Easiest way to repair your KML file is using an XML-aware text editor such as NotePad++ then editing the KML file which must be a well-formed XML file.

Some steps to repair bad KML file are described here:

Kapi

unread,
Sep 9, 2012, 5:37:24 AM9/9/12
to kml-suppor...@googlegroups.com
thank you so much, but I cant work it out, would you mind if i post it and you could do it for me, it will save me hours and hours of work.
My Places.kmz

MagnusL

unread,
Sep 10, 2012, 3:07:33 AM9/10/12
to kml-suppor...@googlegroups.com
Kapi,
To help you out since you seem overloaded, I used Notepad++ (which is excellent, btw) and went straight to the line/columns in error.
You should get to know the internals of KML and HTML as your problem was in actual fact one problem repeated in two different places:

Duplicated CDATA termination characters (preceded by a js "//") before the </description> tags for the following placemarks.
The duplicates were before the embedded </script> - I deleted these "//]]>". The remaining, correct, terminators after the </html> were left in place. :

<Placemark id="22.2.8">
<name>Tempest Car Hire - Braamfontein</name>
and
<Placemark id="21.1.3">
<name>University of Johannesburg: Doornfontein Campus (Esc) Libra</name>

If you weren't the person who generated these tags, let that person know about this.
It only took me a few minutes to correct, plus another 5+ to write this reply...



My Places_Corrected.kmz
Reply all
Reply to author
Forward
0 new messages