Skip to content

Changes to GVQ during development

Chris Lush edited this page Jul 31, 2013 · 4 revisions

During development I have had to make certain changes to the GeoViQua schema distribution to work around problems encountered. These issues and the subsequent changes made are documented below.

Schema referencing & resolution

Both GVQ and the bundled ISO19139 (20070417) schemas reference remote URLs for their schema locations. GeoNetwork requires local copies of the schema so loading the plugin fails when validating the the chain of schemas used. Therefore, all schema locations have been changed to relative URIs instead, e.g. for GeoViQua_DataQuality.xsd the following changes were made to the imports:

<xs:import schemaLocation="../../ISO/19139/20070417/gmd/gmd.xsd" namespace="http://www.isotc211.org/2005/gmd" />
<xs:import schemaLocation="../../ISO/19139/20070417/gco/gco.xsd" namespace="http://www.isotc211.org/2005/gco" />
<xs:import schemaLocation="../../ISO/19139/20120707_GVQ/19115_updates.xsd" namespace="http://www.geoviqua.org/19115_updates" />
<xs:import schemaLocation="../../ISO/19157/20120707_GVQ/19157_DataQuality.xsd" namespace="http://www.geoviqua.org/gmd19157" />

Missing local copies of schemas

With ISO19139/20070417, some local copies of schema dependencies are missing. The following schema directories have been added to PLUGIN_DIR/schema/ISO/19139/20070417:

Clone this wiki locally