KML Validator Galdos Systems Inc.

Error: Missing Namespace


The first requirement for a valid KML file is that it includes a namespace declaration for the KML namespace on the root <kml> element.

All KML files reside within a particular namespace however the KML Validator only validates OGC KML 2.2, and not older Google KML:

  • the namespace for KML 2.1 is ""
  • the namespace for KML 2.2 is ""
  • the namespace for OGCKML 2.2 is ""

If the KML file does not include a namespace declaration, the KML Validator will insert the correct namespace before validating the file.


Make sure that the KML file includes the namespace declaration for the current version of the OGC KML Standard.

Add the following to the root element of the KML file:


Additional References:

See one of the following resources for more help on namespaces:


[Back to Help]

(C) 2008 by Galdos Systems Inc.      Disclaimer