KML 2.2 Conformance Test Suite 1.16 API

KML 2.2 Conformance Test Suite

The OGC KML conformance test suite implements the abstract test suite (ATS) for OGC KML 2.2 and provides a basis for validating the structure and content of KML 2.2 documents.

The test run arguments are summarized in the following table. The value domain is expressed in terms of XML Schema datatypes for convenience. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional).

Test run arguments
Name Value domain Obligation Description
iut anyURI M A URI that refers to the instance document under test. Ampersand ('&') characters must be percent-encoded as '%26'.
ics positiveInteger O Indicates which conformance level (1-3) will be used to validate the instance document. If not specified, the lowest conformance level will be checked (ics=1).
Packages
Package
Description
The root package includes supporting classes of general utility such as the main controller, listeners, and reporters.
Conformance Level 1 includes test cases corresponding to absolute requirements.
Conformance Level 2 includes all Level 1 tests and adds test cases covering requirements that should be satisfied by a KML document; these have the force of a recommendation, not an absolute requirement.
Conformance Level 3 includes all Level 2 tests and adds test cases covering requirements that may be satisfied by a KML document.
This package includes miscellaneous utility classes to support testing.