GML 3.2 (ISO 19136:2007) Conformance Test Suite

This executable test suite (ETS) verifies the conformance of GML data and application schemas with respect to ISO 19136:2007 (GML 3.2.1). It can be used to validate a GML application schema or an instance document; both types of resources are referenced by URI. A GML instance document can also refer to a Schematron schema that defines additional constraints; this is done by including a schema reference using the xml-model processing instruction (PI) as described in the W3C group note Associating Schemas with XML documents 1.0 (Third Edition) .

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). A GML application schema may be validated by itself. If the 'xsd' and 'gml' arguments are both present, the 'xsd' value is ignored and the (required) schema reference in the GML instance will be used instead.

Test run arguments
Name Value domain Obligation Description
xsd URI C (must be present if the 'gml' argument is not supplied) A URI referring to a GML application schema 1.
gml URI C (must be present if the 'xsd' argument is not supplied) A URI referring to a representation of a GML data instance 1.
sch URI O A URI referring to a Schematron schema that defines supplementary data constraints 2.
Notes
  1. Ampersand ('&') characters appearing within query parameter values must be percent-encoded as %26.
  2. ISO 19757-3:2006