source: RevitalizationWS/schemas/gml/trunk/src/main/resources/dictionary.xsd @ 7379

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/gml/trunk/src/main/resources/dictionary.xsd@7379
Revision 7379, 8.9 KB checked in by mnagni, 11 years ago (diff)

Contains the configuration to generate an ogc complaint GML library. The version of the Maven's POM file has to be considered as the GML version

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1 2010-01-28" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml">
3        <annotation>
4                <appinfo source="urn:opengis:specification:gml:schema-xsd:dictionary:3.1.1"/>
5                <documentation>
6                        Dictionary schema for GML 3.1.1
7                        Components to support the lists of definitions.
8                       
9                        GML is an OGC Standard.
10                        Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
11                        To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12                </documentation>
13        </annotation>
14        <!-- ========================================================
15       includes and imports
16        ======================================================== -->
17        <include schemaLocation="gmlBase.xsd"/>
18        <!-- ===================================================== -->
19        <!-- ===================================================== -->
20        <!-- === Dictionary and Definition components === -->
21        <!-- ===================================================== -->
22        <group name="StandardDefinitionProperties">
23                <annotation>
24                        <documentation>This content model group makes it easier to construct types that
25      derive from DefinitionType and its descendents "by restriction". 
26      A reference to the group saves having to enumerate the standard definition properties.
27      See definition of StandardObjectProperties for more documentation</documentation>
28                </annotation>
29                <sequence>
30                        <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
31                        <element ref="gml:description" minOccurs="0"/>
32                        <element ref="gml:name" maxOccurs="unbounded"/>
33                </sequence>
34        </group>
35        <!-- ===================================================== -->
36        <element name="Definition" type="gml:DefinitionType" substitutionGroup="gml:_GML"/>
37        <!-- ===================================================== -->
38        <complexType name="DefinitionType">
39                <annotation>
40                        <documentation>A definition, which can be included in or referenced by a dictionary. In this extended type, the inherited "description" optional element can hold the definition whenever only text is needed. The inherited "name" elements can provide one or more brief terms for which this is the definition. The inherited "metaDataProperty" elements can be used to reference or include more information about this definition. 
41The gml:id attribute is required - it must be possible to reference this definition using this handle.  </documentation>
42                </annotation>
43                <complexContent>
44                        <restriction base="gml:AbstractGMLType">
45                                <sequence>
46                                        <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
47                                        <element ref="gml:description" minOccurs="0"/>
48                                        <element ref="gml:name" maxOccurs="unbounded"/>
49                                </sequence>
50                                <attribute ref="gml:id" use="required"/>
51                        </restriction>
52                </complexContent>
53        </complexType>
54        <!-- ===================================================== -->
55        <element name="Dictionary" type="gml:DictionaryType" substitutionGroup="gml:Definition"/>
56        <element name="DefinitionCollection" type="gml:DictionaryType" substitutionGroup="gml:Definition"/>
57        <!-- ===================================================== -->
58        <complexType name="DictionaryType">
59                <annotation>
60                        <documentation>A non-abstract bag that is specialized for use as a dictionary which contains a set of definitions. These definitions are referenced from other places, in the same and different XML documents. In this restricted type, the inherited optional "description" element can be used for a description of this dictionary. The inherited optional "name" element can be used for the name(s) of this dictionary. The inherited "metaDataProperty" elements can be used to reference or contain more information about this dictionary. The inherited required gml:id attribute allows the dictionary to be referenced using this handle. </documentation>
61                </annotation>
62                <complexContent>
63                        <extension base="gml:DefinitionType">
64                                <sequence minOccurs="0" maxOccurs="unbounded">
65                                        <choice>
66                                                <element ref="gml:dictionaryEntry">
67                                                        <annotation>
68                                                                <documentation>An entry in this dictionary. The content of an entry can itself be a lower level dictionary or definition collection. This element follows the standard GML property model, so the value may be provided directly or by reference. Note that if the value is provided by reference, this definition does not carry a handle (gml:id) in this context, so does not allow external references to this specific entry in this context. When used in this way the referenced definition will usually be in a dictionary in the same XML document. </documentation>
69                                                        </annotation>
70                                                </element>
71                                                <element ref="gml:indirectEntry">
72                                                        <annotation>
73                                                                <documentation>An identified reference to a remote entry in this dictionary, to be used when this entry should be identified to allow external references to this specific entry. </documentation>
74                                                        </annotation>
75                                                </element>
76                                        </choice>
77                                </sequence>
78                        </extension>
79                </complexContent>
80        </complexType>
81        <!-- ===================================================== -->
82        <element name="dictionaryEntry" type="gml:DictionaryEntryType"/>
83        <element name="definitionMember" type="gml:DictionaryEntryType" substitutionGroup="gml:dictionaryEntry"/>
84        <!-- ===================================================== -->
85        <complexType name="DictionaryEntryType">
86                <annotation>
87                        <documentation>An entry in a dictionary of definitions. An instance of this type contains or refers to a definition object. 
88
89The number of definitions contained in this dictionaryEntry is restricted to one, but a DefinitionCollection or Dictionary that contains multiple definitions can be substituted if needed. Specialized descendents of this dictionaryEntry might be restricted in an application schema to allow only including specified types of definitions as valid entries in a dictionary. </documentation>
90                </annotation>
91                <sequence minOccurs="0">
92                        <element ref="gml:Definition">
93                                <annotation>
94                                        <documentation>This element in a dictionary entry contains the actual definition. </documentation>
95                                </annotation>
96                        </element>
97                </sequence>
98                <attributeGroup ref="gml:AssociationAttributeGroup">
99                        <annotation>
100                                <documentation>A non-identified reference to a remote entry in this dictionary, to be used when this entry need not be identified to allow external references to this specific entry. The remote entry referenced will usually be in a dictionary in the same XML document. This element will usually be used in dictionaries that are inside of another dictionary. </documentation>
101                        </annotation>
102                </attributeGroup>
103        </complexType>
104        <!-- ===================================================== -->
105        <element name="indirectEntry" type="gml:IndirectEntryType"/>
106        <!-- ===================================================== -->
107        <complexType name="IndirectEntryType">
108                <annotation>
109                        <documentation>An entry in a dictionary of definitions that contains a GML object which references a remote definition object. This entry is expected to be convenient in allowing multiple elements in one XML document to contain short (abbreviated XPointer) references, which are resolved to an external definition provided in a Dictionary element in the same XML document. Specialized descendents of this dictionaryEntry might be restricted in an application schema to allow only including specified types of definitions as valid entries in a dictionary. </documentation>
110                </annotation>
111                <sequence>
112                        <element ref="gml:DefinitionProxy"/>
113                </sequence>
114        </complexType>
115        <!-- ===================================================== -->
116        <element name="DefinitionProxy" type="gml:DefinitionProxyType" substitutionGroup="gml:Definition"/>
117        <!-- ===================================================== -->
118        <complexType name="DefinitionProxyType">
119                <annotation>
120                        <documentation>A proxy entry in a dictionary of definitions. An element of this type contains a reference to a remote definition object. This entry is expected to be convenient in allowing multiple elements in one XML document to contain short (abbreviated XPointer) references, which are resolved to an external definition provided in a Dictionary element in the same XML document. </documentation>
121                </annotation>
122                <complexContent>
123                        <extension base="gml:DefinitionType">
124                                <sequence>
125                                        <element ref="gml:definitionRef">
126                                                <annotation>
127                                                        <documentation>A reference to a remote entry in this dictionary, used when this dictionary entry is identified to allow external references to this specific entry. The remote entry referenced can be in a dictionary in the same or different XML document. </documentation>
128                                                </annotation>
129                                        </element>
130                                </sequence>
131                        </extension>
132                </complexContent>
133        </complexType>
134        <!-- ===================================================== -->
135        <element name="definitionRef" type="gml:ReferenceType"/>
136        <!-- =========================================================== -->
137</schema>
Note: See TracBrowser for help on using the repository browser.