Commit 9759b4f8 authored by mrodzis's avatar mrodzis 🌿
Browse files

Merge branch 'feature/#27-gml-validation' into 'develop'

Feature/#27 gml validation

Closes #27

See merge request lido/development!39
parents 67c96104 6ba24cd7
......@@ -106,7 +106,7 @@
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
<xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd"/>
schemaLocation="minified-gml.xsd"/>
<xs:annotation>
<xs:appinfo>
......
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xs="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.2">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:gml:3.1.1">gml.xsd</appinfo>
<documentation>
This schema is a minified version of the full GML XSD (available at http://schemas.opengis.net/gml/3.1.1/base/feature.xsd).
It contains only the GML elements that are considered in LIDO. The reason for shipping a minified XSD version are threefold:
1. some versions of libxml2 (2.7.x and earlier) have problems with schema references depending on other schemas
2. GML provides some Schematron rules to ensure ISO compliance. These interfere with LIDO' Schematron rules by marking lido:gml elements as wrong for not being ISO compliant.
3. the validation is much faster without importing the full GML schema
created 2016-04-07 by Detlev Balzer
</documentation>
</annotation>
<element name="Point">
<complexType>
<all>
<element minOccurs="0" name="name" type="string"/>
<element minOccurs="0" name="pos" type="string"/>
<element minOccurs="0" name="coordinates" type="string"/>
</all>
<attribute name="srsName" type="anySimpleType" use="optional"/>
<anyAttribute namespace="##any"/>
</complexType>
</element>
<element name="LineString">
<complexType>
<all>
<element minOccurs="0" name="name" type="string"/>
<element minOccurs="0" name="posList" type="string"/>
<element minOccurs="0" name="coordinates" type="string"/>
</all>
<anyAttribute namespace="##any"/>
</complexType>
</element>
<element name="Polygon">
<complexType>
<all>
<element minOccurs="0" name="name" type="string"/>
<element minOccurs="0" name="posList" type="string"/>
<element minOccurs="0" name="coordinates" type="string"/>
</all>
<anyAttribute namespace="##any"/>
</complexType>
</element>
</schema>
Markdown is supported
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