Gaps in Automatic Validation Rules

32 Copyright © 2011 Open Geospatial Consortium.

6.2.2 Status of the XML Schema Files

The validation tool also performs XML Schema validation, but the package had difficulty using the schema files as they were presented. This was circumvented by making local manual changes to the schema files to allow Xerces the XML parser validation package used to use them: ● Comments after the XML declaration ?xml version=1.0 encoding=UTF- 8? but before the opening element caused a “Content is not allowed in prolog” validation error. This affected the following files which had comments moved to below the schema element opening tag. ○ AIXM_Features.xsd ○ AIXM_DataTypes.xsd ○ AIXM_AbstractGML_ObjectTypes.xsd ● ISO_19139_Schemas\gco\basicTypes.xsd caused the error “The targetNamespace of the referenced schema, currently http:www.opengis.netgml3.2, must be identical to that of the including schema, currently http:www.isotc211.org2005gco”. This was due to a namespace clash with a basicTypes.xsd file in the GML namespace. To resolve this locally the file name of the GCO XSD was changed to gco_basicTypes.xsd. This is likely indicative of a problem in the validation software’s resolution of XSD resources, not in the XSD files themselves. Copyright © 2011 Open Geospatial Consortium. 33 7 Accomplishments ● Conceptual issues within the proposed release version of DNES 1.0 were identified and documented. Where feasible, recommendations were made for solving these issues. ● A number of improvements - regarding both conceptual aspects and the way that the DNES is written - were identified and documented. ● Schematron rule sets for the automatic validation of DNOTAM Events were developed. The rule design offers a great level of flexibility in the way that such Events are included in XML documents. This enables automated validation of DNOTAM Events in various applications, re-using the same rule set. ● Normative statements in the DNES were identified and documented together with information about coverage of the statements by schematron rules. This allows DNES users to determine if a specific statement can be validated automatically. It also provides a way to better link the schematron rules and the DNES.