OGC KML 2.x Conformance Test Suite

This test suite verifies that a KML 2.x resource conforms to the following OGC specifications:

The KML specification defines three conformance levels indicating the relative importance or priority of a particular set of constraints; each level successively increases the test coverage. The highest level (CL3) indicates full conformance, but a given application or user community may opt for a lower level of conformance. All three levels are implemented by the test suite:

CL1
Includes tests covering requirements that must be satisfied by every (minimally) conforming KML resource.
CL2
As for CL1, plus tests that address recommended constraints that should be satisfied; non-conformance at this level may hinder the utility, portability, or interoperability of the resource.
CL3
As for CL2, plus tests for optional constraints that are purely informative in nature.

The test run arguments are summarized in the following table. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional).

Test run arguments
Name Value domain Obligation Description
kml URI M An absolute URI that refers to a KML resource. If the URI contains any ampersand ('&') characters they must be percent-encoded as '%26'.
lvl Integer (1-3) O The conformance level (default value: 1).