1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Added the dimensions element.

Added missing url type attribute.
This commit is contained in:
Martin Tůma 2018-03-12 00:50:00 +01:00
parent fc4aa26824
commit c3154a9beb

View File

@ -8,6 +8,13 @@
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="urlType">
<xs:restriction base="xs:string">
<xs:enumeration value="REST"/>
<xs:enumeration value="KVP"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="axisOrderType"> <xs:simpleType name="axisOrderType">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="xy"/> <xs:enumeration value="xy"/>
@ -17,9 +24,17 @@
<xs:element name="map"> <xs:element name="map">
<xs:complexType> <xs:complexType>
<xs:all> <xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/> <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="url" type="xs:string" minOccurs="1" maxOccurs="1"/> <xs:element name="url" minOccurs="1" maxOccurs="1">
<xs:complexType mixed="true">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="urlType"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="copyright" type="xs:string" minOccurs="0" maxOccurs="1"/> <xs:element name="copyright" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="zoom" minOccurs="0" maxOccurs="1"> <xs:element name="zoom" minOccurs="0" maxOccurs="1">
<xs:complexType> <xs:complexType>
@ -47,7 +62,16 @@
</xs:simpleContent> </xs:simpleContent>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
</xs:all> <xs:element name="dimension" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="type" type="mapType" use="optional"/> <xs:attribute name="type" type="mapType" use="optional"/>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>