I just tried the Galdos KML validator on one of my KML files and got
the following bewildering error msg:
cvc-complex-type.2.4.a: Invalid content was found starting with
element 'LookAt'. One of '{"
http://www.opengis.net/kml/
2.2":AbstractStyleSelectorGroup,
"
http://www.opengis.net/kml/2.2":Region,
"
http://www.opengis.net/kml/2.2":PlacemarkObjectExtensionGroup}' is
expected.
(To keep this short, the above shows only 3 of the 9 lines that were
listed.)
FWIW, I already have the "
http://www.opengis.net/kml/2.2" in my
header, but I have no clue what needs to be added. So, I went to GE,
created a new placemark and saved it as KML.
Figuring GE would know how to write valid code, I tried Galdos on this
file, and got the same error message, but with a slightly different
list of "is expected" options. So, the big question: Is there a way to
figure out what needs to be added to pass validation? I suppose it
depends on the actual content of the file, but who knows how to
examine the file and then deduce what needs to be edited?
Any suggestions -- or should I just ignore the error message? find
some other validator? or what?
Thanks,
John