This executable test suite (ETS) verifies the conformance of GML data and application schemas with respect to ISO 19136:2007 (GML 3.2.1). As shown in Figure 1, a conforming GML data instance must refer to the relevant GML application schema, which in turn imports the complete GML schema.
A Schematron schema (ISO 19757-3) may be used to define supplementary data constraints that
lay beyond the reach of an XML Schema grammar. A GML instance document may include 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 PI must appear before the document element
as shown in the following listing.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://example.org/data-constraints.sch"
schematypens="http://purl.oclc.org/dsdl/schematron"
phase="#ALL"?>
<CityModel xmlns="http://www.opengis.net/citygml/2.0">
<!-- content omitted -->
</CityModel>
Several conformance classes are defined in the principal specification:
The documents listed below stipulate requirements that must be satisfied by a conforming application schema.
See the Javadoc documentation for more detailed information about the test classes and test methods that comprise the suite.
The test suite may be run in any of the following environments:
TestNGController./src/main/ctl/ directory.The test run arguments are summarized in Table 1. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional). A GML application schema may be validated without supplying any data. If both arguments are present, the 'xsd' value is ignored and the (required) schema reference in the GML instance is used instead.
| 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
|
|||
This is a maintenance release; it includes the following fixes:
This is a maintenance release; it includes the following fixes:
This is a maintenance release; it includes the following changes:
This maintenance release includes the following changes: