Commit 9f9fa36a authored by Claus Nagel's avatar Claus Nagel
Browse files

updated to GML 3.1.1.2

parent 3c8fe882
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified"
version="3.1.1">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:feature:v3.1.1"/>
<documentation>GML Feature schema. Copyright (c) 2001-2005 OGC, All Rights Reserved. For conditions, see OGC Software
Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
</annotation>
<!-- ============================================================== -->
<!-- ================== includes and imports ======================= -->
<!-- ============================================================== -->
<include schemaLocation="geometryBasic2d.xsd"/>
<include schemaLocation="temporal.xsd"/>
<!-- ============================================================== -->
<element name="_Feature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:_GML"/>
<!-- =========================================================== -->
<complexType name="AbstractFeatureType" abstract="true">
<annotation>
<documentation>An abstract feature provides a set of common properties, including id, metaDataProperty, name and
description inherited from AbstractGMLType, plus boundedBy. A concrete feature type must derive from this type and
specify additional properties in an application schema. A feature must possess an identifying attribute ('id' -
'fid' has been deprecated).</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:boundedBy" minOccurs="0"/>
<element ref="gml:location" minOccurs="0">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>deprecated in GML version 3.1</documentation>
</annotation>
</element>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
<!-- additional properties must be specified in an application schema -->
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ============================================================== -->
<!-- =========================================================== -->
<element name="boundedBy" type="gml:BoundingShapeType"/>
<!-- ====================================================================== -->
<complexType name="BoundingShapeType">
<annotation>
<documentation>Bounding shape.</documentation>
</annotation>
<sequence>
<choice>
<element ref="gml:Envelope"/>
<element ref="gml:Null"/>
</choice>
</sequence>
</complexType>
<!-- =========================================================== -->
<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope"/>
<!-- ====================================================================== -->
<complexType name="EnvelopeWithTimePeriodType">
<annotation>
<documentation>Envelope that includes also a temporal extent.</documentation>
</annotation>
<complexContent>
<extension base="gml:EnvelopeType">
<sequence>
<element ref="gml:timePosition" minOccurs="2" maxOccurs="2"/>
</sequence>
<attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
</extension>
</complexContent>
</complexType>
<!-- ====================================================================== -->
<!-- ===== property for feature association ==== -->
<element name="featureMember" type="gml:FeaturePropertyType"/>
<element name="featureProperty" type="gml:FeaturePropertyType"/>
<!-- ============================================================== -->
<complexType name="FeaturePropertyType">
<annotation>
<documentation>Container for a feature - follow gml:AssociationType pattern.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:_Feature"/>
<element ref="gml:_ADEComponent" minOccurs="0"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ============================================================== -->
<!-- ===== property for association of an array of features ===== -->
<element name="featureMembers" type="gml:FeatureArrayPropertyType"/>
<!-- =========================================================== -->
<complexType name="FeatureArrayPropertyType">
<annotation>
<documentation>Container for features - follow gml:ArrayAssociationType pattern.</documentation>
</annotation>
<sequence>
<element ref="gml:_Feature" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- ============================================================== -->
<!-- =========================================================== -->
<element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
<!-- =========================================================== -->
<complexType name="AbstractFeatureCollectionType" abstract="true">
<annotation>
<documentation>A feature collection contains zero or more features.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:featureMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="FeatureCollection" type="gml:FeatureCollectionType" substitutionGroup="gml:_Feature"/>
<!-- =========================================================== -->
<complexType name="FeatureCollectionType">
<annotation>
<documentation>Concrete generic feature collection.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractFeatureCollectionType"/>
</complexContent>
</complexType>
<!-- ============================================================== -->
<!-- ============================================================== -->
<element name="LocationKeyWord" type="gml:CodeType"/>
<element name="LocationString" type="gml:StringOrRefType"/>
<!-- =========================================================== -->
<!-- ============= common aliases for geometry properties =============== -->
<element name="centerOf" type="gml:PointPropertyType"/>
<element name="position" type="gml:PointPropertyType"/>
<element name="edgeOf" type="gml:CurvePropertyType"/>
<element name="centerLineOf" type="gml:CurvePropertyType"/>
<element name="extentOf" type="gml:SurfacePropertyType"/>
<!-- =========================================================== -->
<!-- ================= deprecated components =========================== -->
<complexType name="BoundedFeatureType" abstract="true">
<annotation>
<documentation>Makes boundedBy mandatory</documentation>
</annotation>
<complexContent>
<restriction base="gml:AbstractFeatureType">
<sequence>
<group ref="gml:StandardObjectProperties"/>
<element ref="gml:boundedBy"/>
<element ref="gml:location" minOccurs="0">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>deprecated in GML version 3.1</documentation>
</annotation>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="location" type="gml:LocationPropertyType">
<annotation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
</element>
<!-- ============================================================== -->
<complexType name="LocationPropertyType">
<annotation>
<documentation>Convenience property for generalised location. A representative location for plotting or analysis.
Often augmented by one or more additional geometry properties with more specific semantics.</documentation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
<sequence minOccurs="0">
<choice>
<element ref="gml:_Geometry"/>
<element ref="gml:LocationKeyWord"/>
<element ref="gml:LocationString"/>
<element ref="gml:Null"/>
</choice>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ============================================================== -->
<element name="priorityLocation" type="gml:PriorityLocationPropertyType" substitutionGroup="gml:location">
<annotation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
</element>
<!-- ============================================================== -->
<complexType name="PriorityLocationPropertyType">
<annotation>
<documentation>G-XML component</documentation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
<complexContent>
<extension base="gml:LocationPropertyType">
<attribute name="priority" type="string" use="optional"/>
</extension>
</complexContent>
</complexType>
<!-- ============================================================== -->
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:feature:v3.1.1"/>
<documentation>GML Feature schema.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ============================================================== -->
<!-- ================== includes and imports ======================= -->
<!-- ============================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic2d.xsd"/>
<include schemaLocation="temporal.xsd"/>
<!-- ============================================================== -->
<element name="_Feature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:_GML"/>
<!-- =========================================================== -->
<complexType name="AbstractFeatureType" abstract="true">
<annotation>
<documentation>An abstract feature provides a set of common properties, including id, metaDataProperty, name and description inherited from AbstractGMLType, plus boundedBy. A concrete feature type must derive from this type and specify additional properties in an application schema. A feature must possess an identifying attribute ('id' - 'fid' has been deprecated).</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:boundedBy" minOccurs="0"/>
<element ref="gml:location" minOccurs="0">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>deprecated in GML version 3.1</documentation>
</annotation>
</element>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
<!-- additional properties must be specified in an application schema -->
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ============================================================== -->
<!-- =========================================================== -->
<element name="boundedBy" type="gml:BoundingShapeType"/>
<!-- ====================================================================== -->
<complexType name="BoundingShapeType">
<annotation>
<documentation>Bounding shape.</documentation>
</annotation>
<sequence>
<choice>
<element ref="gml:Envelope"/>
<element ref="gml:Null"/>
</choice>
</sequence>
</complexType>
<!-- =========================================================== -->
<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope"/>
<!-- ====================================================================== -->
<complexType name="EnvelopeWithTimePeriodType">
<annotation>
<documentation>Envelope that includes also a temporal extent.</documentation>
</annotation>
<complexContent>
<extension base="gml:EnvelopeType">
<sequence>
<element ref="gml:timePosition" minOccurs="2" maxOccurs="2"/>
</sequence>
<attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
</extension>
</complexContent>
</complexType>
<!-- ====================================================================== -->
<!-- ===== property for feature association ==== -->
<element name="featureMember" type="gml:FeaturePropertyType"/>
<element name="featureProperty" type="gml:FeaturePropertyType"/>
<!-- ============================================================== -->
<complexType name="FeaturePropertyType">
<annotation>
<documentation>Container for a feature - follow gml:AssociationType pattern.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:_Feature"/>
<element ref="gml:_ADEComponent" minOccurs="0"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ============================================================== -->
<!-- ===== property for association of an array of features ===== -->
<element name="featureMembers" type="gml:FeatureArrayPropertyType"/>
<!-- =========================================================== -->
<complexType name="FeatureArrayPropertyType">
<annotation>
<documentation>Container for features - follow gml:ArrayAssociationType pattern.</documentation>
</annotation>
<sequence>
<element ref="gml:_Feature" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- ============================================================== -->
<!-- =========================================================== -->
<element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
<!-- =========================================================== -->
<complexType name="AbstractFeatureCollectionType" abstract="true">
<annotation>
<documentation>A feature collection contains zero or more features.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:featureMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="FeatureCollection" type="gml:FeatureCollectionType" substitutionGroup="gml:_Feature"/>
<!-- =========================================================== -->
<complexType name="FeatureCollectionType">
<annotation>
<documentation>Concrete generic feature collection.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractFeatureCollectionType"/>
</complexContent>
</complexType>
<!-- ============================================================== -->
<!-- ============================================================== -->
<element name="LocationKeyWord" type="gml:CodeType"/>
<element name="LocationString" type="gml:StringOrRefType"/>
<!-- =========================================================== -->
<!-- ============= common aliases for geometry properties =============== -->
<element name="centerOf" type="gml:PointPropertyType"/>
<element name="position" type="gml:PointPropertyType"/>
<element name="edgeOf" type="gml:CurvePropertyType"/>
<element name="centerLineOf" type="gml:CurvePropertyType"/>
<element name="extentOf" type="gml:SurfacePropertyType"/>
<!-- =========================================================== -->
<!-- ================= deprecated components =========================== -->
<complexType name="BoundedFeatureType" abstract="true">
<annotation>
<documentation>Makes boundedBy mandatory</documentation>
</annotation>
<complexContent>
<restriction base="gml:AbstractFeatureType">
<sequence>
<group ref="gml:StandardObjectProperties"/>
<element ref="gml:boundedBy"/>
<element ref="gml:location" minOccurs="0">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>deprecated in GML version 3.1</documentation>
</annotation>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="location" type="gml:LocationPropertyType">
<annotation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
</element>
<!-- ============================================================== -->
<complexType name="LocationPropertyType">
<annotation>
<documentation>Convenience property for generalised location.
A representative location for plotting or analysis.
Often augmented by one or more additional geometry properties with more specific semantics.</documentation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
<sequence minOccurs="0">
<choice>
<element ref="gml:_Geometry"/>
<element ref="gml:LocationKeyWord"/>
<element ref="gml:LocationString"/>
<element ref="gml:Null"/>
</choice>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ============================================================== -->
<element name="priorityLocation" type="gml:PriorityLocationPropertyType" substitutionGroup="gml:location">
<annotation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
</element>
<!-- ============================================================== -->
<complexType name="PriorityLocationPropertyType">
<annotation>
<documentation>G-XML component</documentation>
<documentation>Deprecated in GML 3.1.0</documentation>
</annotation>
<complexContent>
<extension base="gml:LocationPropertyType">
<attribute name="priority" type="string" use="optional"/>
</extension>
</complexContent>
</complexType>
<!-- ============================================================== -->
</schema>
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
version="3.1.1">
version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryAggregates:3.1.1">geometryAggregates.xsd</appinfo>
<documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryPrimitives.xsd"/>
<!-- =========================================================== -->
<!-- aggregate geometry objects -->
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by David Burggraf (Galdos Systems Inc) -->
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron"
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron"
xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic0d1d:v3.1.1">geometryBasic0d1d.xsd</appinfo>
......@@ -20,10 +20,14 @@
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ============================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="measures.xsd">
<annotation>
<documentation>This includes not only measures.xsd, but also units.xsd, gmlBase.xsd and basicTypes.xsd.</documentation>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
version="3.1.1">
version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic2d:3.1.1">geometryBasic2d.xsd</appinfo>
<documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic0d1d.xsd"/>
<!-- =========================================================== -->
<!-- primitive geometry objects (2-dimensional) -->
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
version="3.1.1">
version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryComplexes:v3.1.1">geometryComplexes.xsd</appinfo>
<documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryAggregates.xsd"/>
<!-- =========================================================== -->
<element name="CompositeCurve" type="gml:CompositeCurveType" substitutionGroup="gml:_Curve"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
version="3.1.1">
version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryPrimitives:3.1.1">geometryPrimitives.xsd</appinfo>
<documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- =========================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic2d.xsd"/>
<!-- =========================================================== -->
<element name="Curve" type="gml:CurveType" substitutionGroup="gml:_Curve"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1">
xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:gml:3.1.1">gml.xsd</appinfo>
<documentation>Top level GML schema
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ====================================================================== -->
<include schemaLocation="dynamicFeature.xsd"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<schema jaxb:version="2.1" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" targetNamespace="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sch="http://www.ascc.net/xml/schematron"
xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:gmlBase:3.1.1">
<sch:title>Schematron validation</sch:title>
<sch:ns prefix="gml" uri="http://www.opengis.net/gml"/>
<sch:ns prefix="xlink" uri="http://www.w3.org/1999/xlink"/>
<sch:pattern name="Check either href or content not both">
<sch:rule abstract="true" id="hrefOrContent">
<sch:report test="@xlink:href and (*|text())">Property element may not carry both a reference to an object and
contain an object.</sch:report>
<sch:assert test="@xlink:href | (*|text())">Property element must either carry a reference to an object or
contain an object.</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>GML base schema for GML 3 Components to support the GML encoding model. The abstract Schematron rules can
be used by any schema that includes gmlBase. Copyright (c) 2001-2005 OGC, All Rights Reserved. For conditions, see OGC
Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
</annotation>
<!-- ==============================================================
<schema jaxb:version="2.1" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" targetNamespace="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:gmlBase:3.1.1">
<sch:title>Schematron validation</sch:title>
<sch:ns prefix="gml" uri="http://www.opengis.net/gml"/>
<sch:ns prefix="xlink" uri="http://www.w3.org/1999/xlink"/>
<sch:pattern name="Check either href or content not both">
<sch:rule abstract="true" id="hrefOrContent">
<sch:report test="@xlink:href and (*|text())">Property element may not carry both a reference to an object and contain an object.</sch:report>
<sch:assert test="@xlink:href | (*|text())">Property element must either carry a reference to an object or contain an object.</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>GML base schema for GML 3
Components to support the GML encoding model.
The abstract Schematron rules can be used by any schema that includes gmlBase.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ==============================================================
includes and imports
============================================================== -->
<include schemaLocation="basicTypes.xsd"/>
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="../xlink/xlinks.xsd"/>
<!-- =========================================================== -->
<!-- ==================== Objects ================================ -->
<!-- =========================================================== -->
<!-- =========== Abstract "Object" is "anyType" ============= -->
<!-- ===== Global element at the head of the "Object" substitution group ======== -->
<element name="_Object" abstract="true">
<annotation>
<documentation>This abstract element is the head of a substitutionGroup hierararchy which may contain either
simpleContent or complexContent elements. It is used to assert the model position of "class" elements declared in
other GML schemas.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<!-- =========== Abstract "ADEComponent" is "anyType" ============= -->
<!-- ===== Global element representing CityGML ADE elements ======== -->
<element name="_ADEComponent" abstract="true">
<annotation>
<appinfo>
<jaxb:dom/>
</appinfo>
</annotation>
</element>
<!-- ============================================================= -->
<!-- =========== Abstract "GMLobject" supertype ========================= -->
<element name="_GML" type="gml:AbstractGMLType" abstract="true" substitutionGroup="gml:_Object">
<annotation>
<documentation>Global element which acts as the head of a substitution group that may include any element which is a
GML feature, object, geometry or complex value</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<group name="StandardObjectProperties">
<annotation>
<documentation>This content model group makes it easier to construct types that derive from AbstractGMLType and its
descendents "by restriction". A reference to the group saves having to enumerate the standard object
properties.</documentation>
</annotation>
<sequence>
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:description" minOccurs="0"/>
<element ref="gml:name" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Multiple names may be provided. These will often be distinguished by being assigned by
different authorities, as indicated by the value of the codeSpace attribute. In an instance document there
will usually only be one name per authority.</documentation>
</annotation>
</element>
</sequence>
</group>
<!-- =========================================================== -->
<complexType name="AbstractGMLType" abstract="true">
<annotation>
<documentation>All complexContent GML elements are directly or indirectly derived from this abstract supertype to
establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry. Elements in
this hierarchy may have an ID and are thus referenceable.</documentation>
</annotation>
<sequence>
<group ref="gml:StandardObjectProperties"/>
</sequence>
<attribute ref="gml:id" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- =========== Concrete "Collection" supertype ========================= -->
<element name="Bag" type="gml:BagType" substitutionGroup="gml:_GML">
<annotation>
<documentation>Generic GML element to contain a heterogeneous collection of GML _Objects</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="BagType">
<annotation>
<documentation>A non-abstract generic collection type that can be used as a document element for a collection of any
GML types - Geometries, Topologies, Features ... FeatureCollections may only contain Features. GeometryCollections
may only contain Geometrys. Bags are less constrained they must contain objects that are substitutable for
gml:_Object. This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc. The
content model would ideally be member 0..* members 0..1 member 0..* for maximum flexibility in building a
collection from both homogeneous and distinct components: included "member" elements each contain a single Object
an included "members" element contains a set of Objects However, this is non-deterministic, thus prohibited by
XSD.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:member" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<!-- =========== Concrete "Array" supertype ========================= -->
<element name="Array" type="gml:ArrayType" substitutionGroup="gml:_GML">
<annotation>
<documentation>Generic GML element to contain a homogeneous array of GML _Objects</documentation>
</annotation>
</element>
<!-- ======================================================================= -->
<complexType name="ArrayType">
<annotation>
<documentation>A non-abstract generic collection type that can be used as a document element for a homogeneous
collection of any GML types - Geometries, Topologies, Features ...</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<!-- =========== Abstract Metadata supertype ========================= -->
<element name="_MetaData" type="gml:AbstractMetaDataType" abstract="true" substitutionGroup="gml:_Object">
<annotation>
<documentation>Abstract element which acts as the head of a substitution group for packages of MetaData
properties.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="AbstractMetaDataType" abstract="true" mixed="true">
<annotation>
<documentation>An abstract base type for complex metadata types.</documentation>
</annotation>
<attribute ref="gml:id" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- =========== Container for Generic Metadata ========================= -->
<element name="GenericMetaData" type="gml:GenericMetaDataType" substitutionGroup="gml:_MetaData">
<annotation>
<documentation>Concrete element in the _MetaData substitution group, which permits any well-formed XML content.
Intended to act as a container for metadata defined in external schemas, for which it is not possible to add the
concrete components to the GML _MetaData substitution group directly. Deprecated with GML version
3.1.0.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="GenericMetaDataType" mixed="true">
<annotation>
<documentation>Deprecated with GML version 3.1.0.</documentation>
</annotation>
<complexContent mixed="true">
<extension base="gml:AbstractMetaDataType">
<sequence>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ================================================================== -->
<!-- ================== Base Property Types ============================== -->
<!-- ================================================================== -->
<!-- ==== property types for unspecified association - by Value or by Reference ==== -->
<!-- ====== single Objects - by Value or by Reference ======== -->
<element name="_association" type="gml:AssociationType" abstract="true"/>
<!-- =========================================================== -->
<element name="_strictAssociation" type="gml:AssociationType" abstract="true">
<annotation>
<appinfo>
<sch:pattern name="refAndContent co-occurence prohibited">
<sch:rule context="gml:_strictAssociation">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>must carry a reference to an object or contain an object but not both</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<element name="member" type="gml:AssociationType"/>
<!-- =========================================================== -->
<complexType name="AssociationType">
<annotation>
<documentation>A pattern or base for derived types used to specify complex types corresponding to an unspecified UML
association - either composition or aggregation. Restricts the cardinality of Objects contained in the association
to a maximum of one. An instance of this type can contain an element representing an Object, or serve as a pointer
to a remote Object. Descendents of this type can be restricted in an application schema to * allow only specified
classes as valid participants in the aggregation * allow only association by reference (i.e. empty the content
model) or by value (i.e. remove the xlinks). When used for association by reference, the value of the
gml:remoteSchema attribute can be used to locate a schema fragment that constrains the target instance. In many
cases it is desirable to impose the constraint prohibiting the occurence of both reference and value in the same
instance, as that would be ambiguous. This is accomplished by adding a directive in the annotation element of the
element declaration. This directive can be in the form of normative prose, or can use a Schematron pattern to
automatically constrain co-occurrence - see the declaration for _strictAssociation below. If co-occurence is not
prohibited, then both a link and content may be present. If this occurs in an instance, then the rule for
interpretation is that the instance found by traversing the href provides the normative value of the property, and
should be used when possible. The value(s) included as content may be used if the remote instance cannot be
resolved. This may be considered to be a "cached" version of the value(s).</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:_Object"/>
<element ref="gml:_ADEComponent" minOccurs="0"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- =========================================================== -->
<element name="_reference" type="gml:ReferenceType" abstract="true"/>
<!-- =========================================================== -->
<complexType name="ReferenceType">
<annotation>
<documentation>A pattern or base for derived types used to specify complex types corresponding to a UML aggregation
association. An instance of this type serves as a pointer to a remote Object.</documentation>
</annotation>
<sequence/>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- =========================================================== -->
<!-- ========= multiple objects - by Value or by Reference ================== -->
<element name="members" type="gml:ArrayAssociationType"/>
<!-- =========================================================== -->
<complexType name="ArrayAssociationType">
<annotation>
<documentation>A base for derived types used to specify complex types containing an array of objects, by unspecified
UML association - either composition or aggregation. An instance of this type contains elements representing
Objects. Ideally this type would be derived by extension of AssociationType. However, this leads to a
non-deterministic content model, since both the base and the extension have minOccurs="0", and is thus prohibited
in XML Schema.</documentation>
</annotation>
<sequence>
<element ref="gml:_Object" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- =========================================================== -->
<!-- =========== Abstract "property" supertype ========================= -->
<element name="metaDataProperty" type="gml:MetaDataPropertyType">
<annotation>
<documentation>Contains or refers to a metadata package that contains metadata properties.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MetaDataPropertyType">
<annotation>
<documentation>Base type for complex metadata property types.</documentation>
</annotation>
<sequence minOccurs="0">
<any processContents="lax">
<annotation>
<appinfo>
<jaxb:dom/>
</appinfo>
</annotation>
</any>
<!-- <element ref="gml:_MetaData"/> -->
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attribute name="about" type="anyURI" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- ==========================================================
<include schemaLocation="gml.xsd"/>
<include schemaLocation="basicTypes.xsd"/>
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="../xlink/xlink.xsd"/>
<!-- =========================================================== -->
<!-- ==================== Objects ================================ -->
<!-- =========================================================== -->
<!-- =========== Abstract "Object" is "anyType" ============= -->
<!-- ===== Global element at the head of the "Object" substitution group ======== -->
<element name="_Object" abstract="true">
<annotation>
<documentation>This abstract element is the head of a substitutionGroup hierararchy which may contain either simpleContent or complexContent elements. It is used to assert the model position of "class" elements declared in other GML schemas.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<!-- =========== Abstract "ADEComponent" is "anyType" ============= -->
<!-- ===== Global element representing CityGML ADE elements ======== -->
<element name="_ADEComponent" abstract="true">
<annotation>
<appinfo>
<jaxb:dom/>
</appinfo>
</annotation>
</element>
<!-- ============================================================= -->
<!-- =========== Abstract "GMLobject" supertype ========================= -->
<element name="_GML" type="gml:AbstractGMLType" abstract="true" substitutionGroup="gml:_Object">
<annotation>
<documentation>Global element which acts as the head of a substitution group that may include any element which is a GML feature, object, geometry or complex value</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<group name="StandardObjectProperties">
<annotation>
<documentation>This content model group makes it easier to construct types that
derive from AbstractGMLType and its descendents "by restriction".
A reference to the group saves having to enumerate the standard object properties.</documentation>
</annotation>
<sequence>
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:description" minOccurs="0"/>
<element ref="gml:name" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.</documentation>
</annotation>
</element>
</sequence>
</group>
<!-- =========================================================== -->
<complexType name="AbstractGMLType" abstract="true">
<annotation>
<documentation>All complexContent GML elements are directly or indirectly derived from this abstract supertype
to establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry.
Elements in this hierarchy may have an ID and are thus referenceable.</documentation>
</annotation>
<sequence>
<group ref="gml:StandardObjectProperties"/>
</sequence>
<attribute ref="gml:id" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- =========== Concrete "Collection" supertype ========================= -->
<element name="Bag" type="gml:BagType" substitutionGroup="gml:_GML">
<annotation>
<documentation>Generic GML element to contain a heterogeneous collection of GML _Objects</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="BagType">
<annotation>
<documentation>A non-abstract generic collection type that can be used as a document element for a collection of any GML types - Geometries, Topologies, Features ...
FeatureCollections may only contain Features. GeometryCollections may only contain Geometrys. Bags are less constrained they must contain objects that are substitutable for gml:_Object. This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc.
The content model would ideally be
member 0..*
members 0..1
member 0..*
for maximum flexibility in building a collection from both homogeneous and distinct components:
included "member" elements each contain a single Object
an included "members" element contains a set of Objects
However, this is non-deterministic, thus prohibited by XSD.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:member" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<!-- =========== Concrete "Array" supertype ========================= -->
<element name="Array" type="gml:ArrayType" substitutionGroup="gml:_GML">
<annotation>
<documentation>Generic GML element to contain a homogeneous array of GML _Objects</documentation>
</annotation>
</element>
<!-- ======================================================================= -->
<complexType name="ArrayType">
<annotation>
<documentation>A non-abstract generic collection type that can be used as a document element for a homogeneous collection of any GML types - Geometries, Topologies, Features ...</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<!-- =========== Abstract Metadata supertype ========================= -->
<element name="_MetaData" type="gml:AbstractMetaDataType" abstract="true" substitutionGroup="gml:_Object">
<annotation>
<documentation>Abstract element which acts as the head of a substitution group for packages of MetaData properties.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="AbstractMetaDataType" abstract="true" mixed="true">
<annotation>
<documentation>An abstract base type for complex metadata types.</documentation>
</annotation>
<attribute ref="gml:id" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- =========== Container for Generic Metadata ========================= -->
<element name="GenericMetaData" type="gml:GenericMetaDataType" substitutionGroup="gml:_MetaData">
<annotation>
<documentation>Concrete element in the _MetaData substitution group, which permits any well-formed XML content. Intended to act as a container for metadata defined in external schemas, for which it is not possible to add the concrete components to the GML _MetaData substitution group directly. Deprecated with GML version 3.1.0.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="GenericMetaDataType" mixed="true">
<annotation>
<documentation>Deprecated with GML version 3.1.0.</documentation>
</annotation>
<complexContent mixed="true">
<extension base="gml:AbstractMetaDataType">
<sequence>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ================================================================== -->
<!-- ================== Base Property Types ============================== -->
<!-- ================================================================== -->
<!-- ==== property types for unspecified association - by Value or by Reference ==== -->
<!-- ====== single Objects - by Value or by Reference ======== -->
<element name="_association" type="gml:AssociationType" abstract="true"/>
<!-- =========================================================== -->
<element name="_strictAssociation" type="gml:AssociationType" abstract="true">
<annotation>
<appinfo>
<sch:pattern name="refAndContent co-occurence prohibited">
<sch:rule context="gml:_strictAssociation">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>must carry a reference to an object or contain an object but not both</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<element name="member" type="gml:AssociationType"/>
<!-- =========================================================== -->
<complexType name="AssociationType">
<annotation>
<documentation>A pattern or base for derived types used to specify complex types corresponding to an unspecified UML association - either composition or aggregation. Restricts the cardinality of Objects contained in the association to a maximum of one. An instance of this type can contain an element representing an Object, or serve as a pointer to a remote Object.
Descendents of this type can be restricted in an application schema to
* allow only specified classes as valid participants in the aggregation
* allow only association by reference (i.e. empty the content model) or by value (i.e. remove the xlinks).
When used for association by reference, the value of the gml:remoteSchema attribute can be used to locate a schema fragment that constrains the target instance.
In many cases it is desirable to impose the constraint prohibiting the occurence of both reference and value in the same instance, as that would be ambiguous. This is accomplished by adding a directive in the annotation element of the element declaration. This directive can be in the form of normative prose, or can use a Schematron pattern to automatically constrain co-occurrence - see the declaration for _strictAssociation below.
If co-occurence is not prohibited, then both a link and content may be present. If this occurs in an instance, then the rule for interpretation is that the instance found by traversing the href provides the normative value of the property, and should be used when possible. The value(s) included as content may be used if the remote instance cannot be resolved. This may be considered to be a "cached" version of the value(s).</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:_Object"/>
<element ref="gml:_ADEComponent" minOccurs="0"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- =========================================================== -->
<element name="_reference" type="gml:ReferenceType" abstract="true"/>
<!-- =========================================================== -->
<complexType name="ReferenceType">
<annotation>
<documentation>A pattern or base for derived types used to specify complex types corresponding to a UML aggregation association. An instance of this type serves as a pointer to a remote Object.</documentation>
</annotation>
<sequence/>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- =========================================================== -->
<!-- ========= multiple objects - by Value or by Reference ================== -->
<element name="members" type="gml:ArrayAssociationType"/>
<!-- =========================================================== -->
<complexType name="ArrayAssociationType">
<annotation>
<documentation>A base for derived types used to specify complex types containing an array of objects, by unspecified UML association - either composition or aggregation. An instance of this type contains elements representing Objects.
Ideally this type would be derived by extension of AssociationType.
However, this leads to a non-deterministic content model, since both the base and the extension have minOccurs="0", and is thus prohibited in XML Schema.</documentation>
</annotation>
<sequence>
<element ref="gml:_Object" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:_ADEComponent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- =========================================================== -->
<!-- =========== Abstract "property" supertype ========================= -->
<element name="metaDataProperty" type="gml:MetaDataPropertyType">
<annotation>
<documentation>Contains or refers to a metadata package that contains metadata properties.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MetaDataPropertyType">
<annotation>
<documentation>Base type for complex metadata property types.</documentation>
</annotation>
<sequence minOccurs="0">
<any processContents="lax">
<annotation>
<appinfo>
<jaxb:dom/>
</appinfo>
</annotation>
</any>
<!-- <element ref="gml:_MetaData"/> -->
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attribute name="about" type="anyURI" use="optional"/>
</complexType>
<!-- =========================================================== -->
<!-- ==========================================================
global attribute, attribute group and element declarations
============================================================ -->
<attribute name="id" type="ID">
<annotation>
<documentation>Database handle for the object. It is of XML type ID, so is constrained to be unique in the XML
document within which it occurs. An external identifier for the object in the form of a URI may be constructed
using standard XML and XPointer methods. This is done by concatenating the URI for the document, a fragment
separator, and the value of the id attribute.</documentation>
</annotation>
</attribute>
<!-- =========================================================== -->
<attribute name="remoteSchema" type="anyURI">
<annotation>
<documentation>Reference to an XML Schema fragment that specifies the content model of the propertys value. This is in
conformance with the XML Schema Section 4.14 Referencing Schemas from Elsewhere.</documentation>
</annotation>
</attribute>
<!-- =========================================================== -->
<attributeGroup name="AssociationAttributeGroup">
<annotation>
<documentation>Attribute group used to enable property elements to refer to their value remotely. It contains the
simple link components from xlinks.xsd, with all members optional, and the remoteSchema attribute, which is also
optional. These attributes can be attached to any element, thus allowing it to act as a pointer. The
'remoteSchema' attribute allows an element that carries link attributes to indicate that the element is declared
in a remote schema rather than by the schema that constrains the current document instance.</documentation>
</annotation>
<attributeGroup ref="xlink:simpleLink"/>
<attribute ref="gml:remoteSchema" use="optional"/>
</attributeGroup>
<!-- =========================================================== -->
<element name="name" type="gml:CodeType">
<annotation>
<documentation>Label for the object, normally a descriptive name. An object may have several names, typically assigned
by different authorities. The authority for a name is indicated by the value of its (optional) codeSpace
attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the
codeSpace.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<element name="description" type="gml:StringOrRefType">
<annotation>
<documentation>Contains a simple text description of the object, or refers to an external description.</documentation>
</annotation>
</element>
<!-- ===================================================== -->
<complexType name="StringOrRefType">
<annotation>
<documentation>This type is available wherever there is a need for a "text" type property. It is of string type, so
the text can be included inline, but the value can also be referenced remotely via xlinks from the
AssociationAttributeGroup. If the remote reference is present, then the value obtained by traversing the link
should be used, and the string content of the element can be used for an annotation.</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</extension>
</simpleContent>
</complexType>
<!-- ===================================================== -->
<attribute name="id" type="ID">
<annotation>
<documentation>Database handle for the object. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. An external identifier for the object in the form of a URI may be constructed using standard XML and XPointer methods. This is done by concatenating the URI for the document, a fragment separator, and the value of the id attribute.</documentation>
</annotation>
</attribute>
<!-- =========================================================== -->
<attribute name="remoteSchema" type="anyURI">
<annotation>
<documentation>Reference to an XML Schema fragment that specifies the content model of the propertys value. This is in conformance with the XML Schema Section 4.14 Referencing Schemas from Elsewhere.</documentation>
</annotation>
</attribute>
<!-- =========================================================== -->
<attributeGroup name="AssociationAttributeGroup">
<annotation>
<documentation>Attribute group used to enable property elements to refer to their value remotely. It contains the simple link components from xlinks.xsd, with all members optional, and the remoteSchema attribute, which is also optional. These attributes can be attached to any element, thus allowing it to act as a pointer. The 'remoteSchema' attribute allows an element that carries link attributes to indicate that the element is declared in a remote schema rather than by the schema that constrains the current document instance.</documentation>
</annotation>
<attributeGroup ref="xlink:simpleAttrs"/>
<attribute ref="gml:remoteSchema" use="optional"/>
</attributeGroup>
<!-- =========================================================== -->
<element name="name" type="gml:CodeType">
<annotation>
<documentation>Label for the object, normally a descriptive name. An object may have several names, typically assigned by different authorities. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<element name="description" type="gml:StringOrRefType">
<annotation>
<documentation>Contains a simple text description of the object, or refers to an external description.</documentation>
</annotation>
</element>
<!-- ===================================================== -->
<complexType name="StringOrRefType">
<annotation>
<documentation>This type is available wherever there is a need for a "text" type property. It is of string type, so the text can be included inline, but the value can also be referenced remotely via xlinks from the AssociationAttributeGroup. If the remote reference is present, then the value obtained by traversing the link should be used, and the string content of the element can be used for an annotation.</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</extension>
</simpleContent>
</complexType>
<!-- ===================================================== -->
</schema>
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:grids:3.1.1">grids.xsd</appinfo>
<documentation xml:lang="en">Grid geometries
A subset of implicit geometries
Designed for use with GML Coverage schema, but maybe useful elsewhere as well.
Designed for use with GML Coverage schema, but maybe useful elsewhere as well.
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ==============================================================
includes and imports
============================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic0d1d.xsd"/>
<!-- ==============================================================
global elements
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1" xml:lang="en" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml">
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1.2" xml:lang="en" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-measures:3.1.1"/>
<documentation>Extends the units.xsd and basicTypes.xsd schemas with types for recording measures using specific types of units, especially the measures and units needed for coordinate reference systems and coordinate operations. The specific unit types encoded are length, angle, scale factor, time, area, volume, speed, and grid length. This schema allows angle values to be recorded as single numbers or in degree-minute-second format.
Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on Subclause 4.7 of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.</documentation>
Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on Subclause 4.7 of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ==============================================================
includes and imports
============================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="units.xsd"/>
<!-- ==============================================================
elements and types
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:observation:3.1.1">observation.xsd</appinfo>
<documentation>Observation schema for GML 3.1
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
<documentation>Observation schema for GML 3.1
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- =================================================================== -->
<!-- === includes and imports ============================================ -->
<!-- === includes and imports ============================================ -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="feature.xsd"/>
<include schemaLocation="direction.xsd"/>
<include schemaLocation="valueObjects.xsd"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2" xml:lang="en">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:referenceSystems:3.1.1"/>
<documentation>How to encode reference system definitions. Builds on several other parts of GML 3 to encode the data needed to define reference systems.
Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
<documentation>How to encode reference system definitions. Builds on several other parts of GML 3 to encode the data needed to define reference systems.
This schema encodes the Reference System (RS_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2. The SC_CRS class is also encoded here, to eliminate the (circular) references from coordinateOperations.xsd to coordinateReferenceSystems.xsd. The RS_SpatialReferenceSystemUsingGeographicIdentifier class is not encoded, since it is not applicable to coordinate positions. The CI_Citation class is not directly encoded, since such information can be included as metaDataProperty elements which are optionally allowed. A modified version of the EX_Extent (DataType) class from ISO 19115 is currently encoded here, using GML 3 schema types. (A more extensive version of the EX_Extent package might be XML encoded in the future, probably in a separate extent.xsd schema.)
Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111.</documentation>
Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ======================================================
includes and imports
====================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic2d.xsd"/>
<include schemaLocation="temporal.xsd"/>
<!-- ======================================================
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:temporal:3.1.1"/>
<documentation xml:lang="en">The temporal schema for GML 3.1 provides constructs for handling time-varying spatial data.
This schema reflects a partial implementation of the model described in ISO 19108:2002.
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
This schema reflects a partial implementation of the model described in ISO 19108:2002.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ================================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="gmlBase.xsd"/>
<!-- ================================================================== -->
<!-- ==== Time Object ===== -->
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:temporalReferenceSystems:3.1.1"/>
<documentation xml:lang="en">The Temporal Reference Systems schema for GML 3.1 provides constructs for handling various styles of temporal reference system.
This schema reflects a partial implementation of the model described in ISO 19108:2002.
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
This schema reflects a partial implementation of the model described in ISO 19108:2002.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ================================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="temporalTopology.xsd"/>
<include schemaLocation="dictionary.xsd"/>
<!-- ================================================================== -->
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:temporalTopology:3.1.1"/>
<documentation xml:lang="en">The temporal topology schema for ISO19136 provides constructs for handling topological complexes and
......@@ -10,11 +10,15 @@
as long as the direction of time does not change.
It is used effectively in the case of describing a family tree expressing evolution of species, an ecological cycle,
a lineage of lands or buildings, or a history of separation and merger of administrative boundaries.
This schema reflects a partial yet consistent implementation of the model described in ISO 19108:2002.
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
This schema reflects a partial yet consistent implementation of the model described in ISO 19108:2002.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ===================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="temporal.xsd"/>
<!-- ===================================== -->
<!-- ================================================================== -->
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema">
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:topology:3.1.1">topology.xsd</appinfo>
<documentation>
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryComplexes.xsd"/>
<!-- ==============================================================
abstract supertype for topology objects
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1.2" xml:lang="en">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-units:3.1.1"/>
<documentation>Builds on gmlBase.xsd to encode units of measure (or uom), including definitions of units of measure and dictionaries of such definitions. GML 3.0 candidate schema, primary editor: Arliss Whiteside. Last updated 2005-06-22.
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on most of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.</documentation>
<documentation>Builds on gmlBase.xsd to encode units of measure (or uom), including definitions of units of measure and dictionaries of such definitions. GML 3.0 candidate schema, primary editor: Arliss Whiteside.
Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on most of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ==============================================================
includes and imports
============================================================== -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="dictionary.xsd"/>
<!-- ==============================================================
elements and types
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1">
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="3.1.1.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:valueObjects:3.1.1">valueObjects.xsd</appinfo>
<documentation>GML conformant schema for Values in which the
* scalar Value types and lists have their values recorded in simpleContent elements
* complex Value types are built recursively
Copyright (c) 2002-2005 OGC, All Rights Reserved.
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- ====================================================================== -->
<!-- geometry and temporal included so that _Geometry and _TimeObject can be added to Value choice group -->
<include schemaLocation="gml.xsd"/>
<include schemaLocation="geometryBasic0d1d.xsd"/>
<include schemaLocation="temporal.xsd"/>
<!-- ====================================================================== -->
......
......@@ -32,7 +32,7 @@ Revision: 2001/07/31
<!-- =============================================================
struct.xsd
============================================================== -->
<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml-mod.xsd"/>
<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../xml/xml.xsd"/>
<attributeGroup name="structureModuleAttrs">
<attribute name="id" type="ID" use="optional"/>
<attribute name="class" type="string" use="optional"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
=================== OpenGIS ============================
This schema is required by SMIL schemas.
There are errors in publicly available smil schemas at w3c site.
One is acknowledged by w3c - it is typographical error described in SMIL errata document at:
http://www.w3.org/2001/07/REC-SMIL20-20010731-errata
under:
E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002)
Others (at least one) are assumed after failed validation using Visual Studio .NET.
These smil schemas are reorganized to include in minimum number of files all and only definitions required by
defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas.
When w3c fixes the public schemas these will be discarded
comment: Milan Trninic, Galdos Systems Inc., May 2002
comment#2: Milan Trninic, Galdos Systems Inc., Dec 2002
In order to validate with xerces, changed the "x:" prefix to "xml:" in the namespace declaration and references to "lang" and "space" attributes
=================== OpenGIS ============================
-->
<schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns="http://www.w3.org/2001/XMLSchema">
<attribute name="lang" type="language">
<annotation>
<documentation>In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . .</documentation>
</annotation>
</attribute>
<attribute name="space" default="preserve">
<simpleType>
<restriction base="NCName">
<enumeration value="default"/>
<enumeration value="preserve"/>
</restriction>
</simpleType>
</attribute>
<attributeGroup name="specialAttrs">
<attribute ref="xml:lang"/>
<attribute ref="xml:space"/>
</attributeGroup>
</schema>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment