Project

General

Profile

« Previous | Next » 

Revision 5831

geoserver upgrade (in TRUNK thins time!):
-remove embedded geoserver
-include geotools api and update spatial harvesting

View differences:

lib/spatial/geoserver/schemas/wms/1.1.1/WMS_DescribeLayerResponse.dtd
1
<!-- WMS_DescribeLayerResponse: the document is returned in response to a DescribeLayer request made on a WMS. -->
2

  
3
<!ELEMENT WMS_DescribeLayerResponse (LayerDescription*) >
4
<!ATTLIST WMS_DescribeLayerResponse
5
            version CDATA #REQUIRED >
6

  
7
<!-- LayerDescription: describes the contents of a NamedLayer, the name of which is specified in the ?name? attribute.  If the NamedLayer is not feature based, then the LayerDescription has no further contents.  If the NamedLayer is feature based then the ?wfs? attribute gives the URL prefix for the WFS containing the feature data.  Equivalently, the ?owsType? and ?owsURL? attributes can be used to indicate the OWS type & base URL of a service.  The ?wfs? attribute is retained for greater compatibility with the WFS specification.  The presently recognized valid values for ?owsType? are ?WFS? and ?WCS?, though more may be allowed in the future.
8

  
9
The LayerDescription contains one or more Query elements that specify the feature-types present in the NamedLayer. -->
10

  
11
<!ELEMENT LayerDescription (Query*) >
12
<!ATTLIST LayerDescription
13
            name CDATA #REQUIRED
14
            wfs CDATA #IMPLIED
15
            owsType CDATA #IMPLIED
16
            owsURL CDATA #IMPLIED >
17

  
18
<!-- Query: a Query uses the ?typeName? attribute to identify a feature/coverage-type.  This is a stripped down version of the Query element used in the WFS. -->
19

  
20
<!ELEMENT Query EMPTY >
21
<!ATTLIST Query
22
            typeName CDATA #REQUIRED >
23 0

  
lib/spatial/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd
1
<!ELEMENT ServiceExceptionReport (ServiceException*)>
2
<!ATTLIST ServiceExceptionReport version CDATA #FIXED "1.1.1">
3

  
4
<!ELEMENT ServiceException (#PCDATA)>
5
<!ATTLIST ServiceException code CDATA #IMPLIED>
6 0

  
lib/spatial/geoserver/schemas/wms/1.1.1/OGC-exception.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema
3
   targetNamespace="http://www.opengis.net/ogc"
4
   xmlns:ogc="http://www.opengis.net/ogc"
5
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
   elementFormDefault="qualified">
7

  
8
   <xsd:element name="ServiceExceptionReport">
9
      <xsd:annotation>
10
         <xsd:documentation>
11
            The ServiceExceptionReport element contains one
12
            or more ServiceException elements that describe
13
            a service exception.
14
         </xsd:documentation>
15
      </xsd:annotation>
16
      <xsd:complexType>
17
         <xsd:sequence>
18
            <xsd:element name="ServiceException"
19
                         type="ogc:ServiceExceptionType"
20
                         minOccurs="0" maxOccurs="unbounded">
21
               <xsd:annotation>
22
                  <xsd:documentation>
23
                     The Service exception element is used to describe 
24
                     a service exception.
25
                  </xsd:documentation>
26
               </xsd:annotation>
27
            </xsd:element>
28
         </xsd:sequence>
29
         <xsd:attribute name="version" type="xsd:string" fixed="1.2.0"/>
30
      </xsd:complexType>
31
   </xsd:element>
32

  
33
   <xsd:complexType name="ServiceExceptionType">
34
      <xsd:annotation>
35
         <xsd:documentation>
36
            The ServiceExceptionType type defines the ServiceException
37
            element.  The content of the element is an exception message
38
            that the service wished to convey to the client application.
39
         </xsd:documentation>
40
      </xsd:annotation>
41
      <xsd:simpleContent>
42
         <xsd:extension base="xsd:string">
43
            <xsd:attribute name="code" type="xsd:string">
44
               <xsd:annotation>
45
                  <xsd:documentation>
46
                     A service may associate a code with an exception
47
                     by using the code attribute.
48
                  </xsd:documentation>
49
               </xsd:annotation>
50
            </xsd:attribute>
51
            <xsd:attribute name="locator" type="xsd:string">
52
               <xsd:annotation>
53
                  <xsd:documentation>
54
                     The locator attribute may be used by a service to
55
                     indicate to a client where in the client's request
56
                     an exception was encountered.  If the request included
57
                     a 'handle' attribute, this may be used to identify the
58
                     offending component of the request.  Otherwise the 
59
                     service may try to use other means to locate the 
60
                     exception such as line numbers or byte offset from the
61
                     begining of the request, etc ...
62
                  </xsd:documentation>
63
               </xsd:annotation>
64
            </xsd:attribute>
65
         </xsd:extension>
66
      </xsd:simpleContent>
67
   </xsd:complexType>
68
</xsd:schema>
69 0

  
lib/spatial/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd
1
<!ELEMENT WMT_MS_Capabilities (Service, Capability) >
2

  
3
<!ATTLIST WMT_MS_Capabilities
4
	  version CDATA #FIXED "1.1.1"
5
	  updateSequence CDATA #IMPLIED>
6

  
7
<!-- Elements used in multiple places. -->
8

  
9
<!-- The Name is typically for machine-to-machine communication. -->
10
<!ELEMENT Name (#PCDATA) >
11

  
12
<!-- The Title is for informative display to a human. -->
13
<!ELEMENT Title (#PCDATA) >
14

  
15
<!-- The abstract is a longer narrative description of an object. -->
16
<!ELEMENT Abstract (#PCDATA) > 
17

  
18
<!-- An OnlineResource is typically an HTTP URL.  The URL is placed in the
19
xlink:href attribute.  The xmlns:xlink attribute is a required XML namespace
20
declaration. -->
21
<!ELEMENT OnlineResource EMPTY>
22
<!ATTLIST OnlineResource
23
          xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
24
          xlink:type CDATA #FIXED "simple"
25
          xlink:href CDATA #REQUIRED >
26

  
27
<!-- A container for listing an available format's MIME type. -->
28
<!ELEMENT Format (#PCDATA) >
29

  
30

  
31
<!-- General service metadata. -->
32

  
33
<!ELEMENT Service (Name, Title, Abstract?, KeywordList?, OnlineResource,
34
                   ContactInformation?, Fees?, AccessConstraints?) >
35

  
36
<!-- List of keywords or keyword phrases to help catalog searching. -->
37
<!ELEMENT KeywordList (Keyword*) >
38

  
39
<!-- A single keyword or phrase. -->
40
<!ELEMENT Keyword (#PCDATA) >
41

  
42
<!-- Information about a contact person for the service. -->
43
<!ELEMENT ContactInformation  (ContactPersonPrimary?, ContactPosition?,
44
                               ContactAddress?, ContactVoiceTelephone?,
45
                               ContactFacsimileTelephone?,
46
                               ContactElectronicMailAddress?) >
47

  
48
<!--The primary contact person.-->
49
<!ELEMENT ContactPersonPrimary  (ContactPerson, ContactOrganization) >
50

  
51
<!--The person to contact.-->
52
<!ELEMENT ContactPerson  (#PCDATA) >
53

  
54
<!--The organization supplying the service.-->
55
<!ELEMENT ContactOrganization  (#PCDATA) >
56

  
57
<!--The position title for the contact person.-->
58
<!ELEMENT ContactPosition  (#PCDATA) >
59

  
60
<!--The address for the contact supplying the service.-->
61
<!ELEMENT ContactAddress  (AddressType,Address,City,StateOrProvince,PostCode,
62
               Country) >
63

  
64
<!--The type of address.-->
65
<!ELEMENT AddressType  (#PCDATA) >
66

  
67
<!--The street address.-->
68
<!ELEMENT Address  (#PCDATA) >
69

  
70
<!--The address city.-->
71
<!ELEMENT City  (#PCDATA) >
72

  
73
<!--The state or province.-->
74
<!ELEMENT StateOrProvince  (#PCDATA) >
75

  
76
<!--The zip or postal code.-->
77
<!ELEMENT PostCode  (#PCDATA) >
78

  
79
<!--The address country.-->
80
<!ELEMENT Country  (#PCDATA) >
81

  
82
<!--Contact telephone number.-->
83
<!ELEMENT ContactVoiceTelephone  (#PCDATA) >
84

  
85
<!--The contact fax number.-->
86
<!ELEMENT ContactFacsimileTelephone  (#PCDATA) >
87

  
88
<!--The e-mail address for the contact.-->
89
<!ELEMENT ContactElectronicMailAddress  (#PCDATA) >
90

  
91

  
92
<!-- Elements indicating what fees or access constraints are imposed. -->
93
<!ELEMENT Fees (#PCDATA)>
94
<!ELEMENT AccessConstraints (#PCDATA)>
95

  
96

  
97
<!-- A Capability lists available request types, how exceptions
98
may be reported, and whether any vendor-specific capabilities are defined.  It
99
also includes an optional list of map layers available from this server. -->
100
<!ELEMENT Capability 
101
          (Request, Exception, VendorSpecificCapabilities?,
102
	   UserDefinedSymbolization?, Layer?) >
103

  
104
<!-- Available WMS Operations are listed in a Request element. -->
105
<!ELEMENT Request (GetCapabilities, GetMap, GetFeatureInfo?,
106
                   DescribeLayer?, GetLegendGraphic?, GetStyles?, PutStyles?) >
107

  
108
<!-- For each operation offered by the server, list the available output
109
formats and the online resource. -->
110
<!ELEMENT GetCapabilities (Format+, DCPType+)>
111
<!ELEMENT GetMap (Format+, DCPType+)>
112
<!ELEMENT GetFeatureInfo (Format+, DCPType+)>
113
<!-- The following optional operations only apply to SLD-enabled WMS -->
114
<!ELEMENT DescribeLayer (Format+, DCPType+)>
115
<!ELEMENT GetLegendGraphic (Format+, DCPType+)>
116
<!ELEMENT GetStyles (Format+, DCPType+)>
117
<!ELEMENT PutStyles (Format+, DCPType+)>
118

  
119
<!-- Available Distributed Computing Platforms (DCPs) are
120
listed here.  At present, only HTTP is defined. -->
121
<!ELEMENT DCPType (HTTP) >
122

  
123
<!-- Available HTTP request methods.  One or both may be supported. -->
124
<!ELEMENT HTTP (Get | Post)+ >
125

  
126
<!-- URL prefix for each HTTP request method. -->
127
<!ELEMENT Get (OnlineResource) >
128
<!ELEMENT Post (OnlineResource) >
129

  
130
<!-- An Exception element indicates which error-reporting formats are supported. -->
131
<!ELEMENT Exception (Format+)>
132

  
133
<!-- Optional user-defined symbolization (used only by SLD-enabled WMSes). -->
134
<!ELEMENT UserDefinedSymbolization EMPTY >
135
<!ATTLIST UserDefinedSymbolization
136
          SupportSLD (0 | 1) "0"
137
          UserLayer (0 | 1) "0"
138
          UserStyle (0 | 1) "0"
139
          RemoteWFS (0 | 1) "0" >
140

  
141
<!-- Nested list of zero or more map Layers offered by this server. -->
142
<!ELEMENT Layer ( Name?, Title, Abstract?, KeywordList?, SRS*,
143
                  LatLonBoundingBox?, BoundingBox*, Dimension*, Extent*,
144
                  Attribution?, AuthorityURL*, Identifier*, MetadataURL*, DataURL*,
145
                  FeatureListURL*, Style*, ScaleHint?, Layer* ) >
146

  
147
<!-- Optional attributes-->
148
<!ATTLIST Layer queryable (0 | 1) "0"
149
                cascaded CDATA #IMPLIED
150
                opaque (0 | 1) "0"
151
                noSubsets (0 | 1) "0"
152
                fixedWidth CDATA #IMPLIED
153
                fixedHeight CDATA #IMPLIED >
154
          
155
<!-- Identifier for a single Spatial Reference Systems (SRS). -->
156
<!ELEMENT SRS (#PCDATA) >
157

  
158
<!-- The LatLonBoundingBox attributes indicate the edges of the enclosing
159
rectangle in latitude/longitude decimal degrees (as in SRS EPSG:4326 [WGS1984
160
lat/lon]). -->
161
<!ELEMENT LatLonBoundingBox EMPTY>
162
<!ATTLIST LatLonBoundingBox 
163
          minx CDATA #REQUIRED
164
          miny CDATA #REQUIRED
165
          maxx CDATA #REQUIRED
166
          maxy CDATA #REQUIRED>
167

  
168
<!-- The BoundingBox attributes indicate the edges of the bounding box
169
in units of the specified spatial reference system. -->
170
<!ELEMENT BoundingBox EMPTY>
171
<!ATTLIST BoundingBox 
172
          SRS CDATA #REQUIRED
173
          minx CDATA #REQUIRED
174
          miny CDATA #REQUIRED
175
          maxx CDATA #REQUIRED
176
          maxy CDATA #REQUIRED
177
          resx CDATA #IMPLIED
178
          resy CDATA #IMPLIED>
179

  
180
<!-- The Dimension element declares the _existence_ of a dimension. -->
181
<!ELEMENT Dimension EMPTY >
182
<!ATTLIST Dimension
183
          name CDATA #REQUIRED
184
          units CDATA #REQUIRED
185
          unitSymbol CDATA #IMPLIED>
186

  
187
<!-- The Extent element indicates what _values_ along a dimension are valid. -->
188
<!ELEMENT Extent (#PCDATA) >
189
<!ATTLIST Extent
190
          name CDATA #REQUIRED
191
          default CDATA #IMPLIED
192
          nearestValue (0 | 1) "0">
193

  
194
<!-- Attribution indicates the provider of a Layer or collection of Layers.
195
The provider's URL, descriptive title string, and/or logo image URL may be
196
supplied.  Client applications may choose to display one or more of these
197
items.  A format element indicates the MIME type of the logo image located at
198
LogoURL.  The logo image's width and height assist client applications in
199
laying out space to display the logo. -->
200
<!ELEMENT Attribution ( Title?, OnlineResource?, LogoURL? )>
201
<!ELEMENT LogoURL (Format, OnlineResource) >
202
<!ATTLIST LogoURL
203
          width NMTOKEN #REQUIRED
204
          height NMTOKEN #REQUIRED>
205

  
206
<!-- A Map Server may use zero or more MetadataURL elements to offer detailed,
207
standardized metadata about the data underneath a particular layer. The type
208
attribute indicates the standard to which the metadata complies.  Two types
209
are defined at present: 'TC211' = ISO TC211 19115; 'FGDC' = FGDC CSDGM.  The
210
format element indicates how the metadata is structured. -->
211
<!ELEMENT MetadataURL (Format, OnlineResource) >
212
<!ATTLIST MetadataURL
213
          type ( TC211 | FGDC ) #REQUIRED>
214

  
215
<!-- A Map Server may use zero or more Identifier elements to list ID numbers
216
or labels defined by a particular Authority.  For example, the Global Change
217
Master Directory (gcmd.gsfc.nasa.gov) defines a DIF_ID label for every
218
dataset.  The authority name and explanatory URL are defined in a separate
219
AuthorityURL element, which may be defined once and inherited by subsidiary
220
layers.  Identifiers themselves are not inherited. -->
221

  
222
<!ELEMENT AuthorityURL (OnlineResource) >
223
<!ATTLIST AuthorityURL
224
          name NMTOKEN #REQUIRED >
225
<!ELEMENT Identifier (#PCDATA) >
226
<!ATTLIST Identifier
227
          authority CDATA #REQUIRED >
228

  
229
<!-- A Map Server may use DataURL to offer more information about the data
230
underneath a particular layer. While the semantics are not well-defined, as
231
long as the results of an HTTP GET request against the DataURL are properly
232
MIME-typed, Viewer Clients and Cascading Map Servers can make use of this. -->
233
<!ELEMENT DataURL (Format, OnlineResource) >
234

  
235
<!-- A Map Server may use FeatureListURL to point to a list of the features
236
represented in a Layer. -->
237
<!ELEMENT FeatureListURL (Format, OnlineResource) >
238

  
239
<!-- A Style element lists the name by which a style is requested and a
240
human-readable title for pick lists, optionally (and ideally) provides a
241
human-readable description, and optionally gives a style URL. -->
242
<!ELEMENT Style ( Name, Title, Abstract?,
243
                  LegendURL*, StyleSheetURL?, StyleURL? ) >
244

  
245
<!-- A Map Server may use zero or more LegendURL elements to provide an
246
image(s) of a legend relevant to each Style of a Layer.  The Format element
247
indicates the MIME type of the legend. Width and height attributes are
248
provided to assist client applications in laying out space to display the
249
legend. -->
250
<!ELEMENT LegendURL (Format, OnlineResource) >
251
<!ATTLIST LegendURL
252
          width NMTOKEN #REQUIRED
253
          height NMTOKEN #REQUIRED>
254

  
255
<!-- StyleSheeetURL provides symbology information foreach Style of a Layer. -->
256
<!ELEMENT StyleSheetURL (Format, OnlineResource) >
257

  
258
<!-- A Map Server may use StyleURL to offer more information about the data or
259
symbology underlying a particular Style. While the semantics are not
260
well-defined, as long as the results of an HTTP GET request against the
261
StyleURL are properly MIME-typed, Viewer Clients and Cascading Map Servers can
262
make use of this. A possible use could be to allow a Map Server to provide
263
legend information. -->
264
<!ELEMENT StyleURL (Format, OnlineResource) >
265

  
266
<!-- Minimum and maximum scale hints for which it is appropriate to
267
display this layer. -->
268
<!ELEMENT ScaleHint EMPTY>
269
<!ATTLIST ScaleHint
270
          min CDATA #REQUIRED
271
          max CDATA #REQUIRED>
272

  
273

  
274

  
275 0

  
lib/spatial/geoserver/schemas/validate/pluginSchema.xsd
1
 <xs:schema targetNamespace="pluginSchema" 
2
 xmlns:ogc="http://www.opengis.net/ogc" 
3
 xmlns:gml="http://www.opengis.net/gml" 
4
 xmlns="pluginSchema" 
5
 xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
6
   <xs:import namespace=”http://www.opengis.net/gml” 
7
      schemaLocation="http://schemas.opengis.net/gml/2.0.0/geometry.xsd"/>
8
   <xs:import namespace=”http://www.opengis.net/ogc”
9
      schemaLocation="http://schemas.opengis.net/filter/1.0.0/filter.xsd"/>
10
   <xs:element name="plugin">
11
     <xs:complexType>
12
       <xs:sequence>
13
         <xs:element name="name" type="xs:string"/>
14
         <xs:element name="description" type="xs:string" minOccurs="0"/>
15
         <xs:element name="class" type="xs:string"/>
16
         <xs:element name="argument" minOccurs="0" maxOccurs="unbounded">
17
           <xs:complexType>
18
             <xs:attribute name="final" type="xs:boolean" use="optional" default="false"/>
19
             <xs:sequence>
20
               <xs:element name="name" type="xs:string"/>
21
               <xs:choice>
22
                 <xs:element name="filter" type="ogc:FilterType"/>
23
                 <xs:element name="geometry"
24
                      type="gml:AbstractGeometryType"/>
25
                 <xs:element name="bbox" type="ogc:BBOXType"/>
26
                 <xs:element name="short" type="xs:short"/>
27
                 <xs:element name="integer" type="xs:integer"/>
28
                 <xs:element name="long" type="xs:long"/>
29
                 <xs:element name="float" type="xs:float"/>
30
                 <xs:element name="double" type="xs:double"/>
31
                 <xs:element name="datetime" type="xs:dateTime"/>
32
                 <xs:element name="anyURI" type="xs:anyURI"/>
33
                 <xs:element name="boolean" type="xs:boolean"/>
34
                 <xs:element name="string" type="xs:string"/>
35
               </xs:choice>
36
             </xs:sequence>
37
           </xs:complexType>
38
         </xs:element>
39
       </xs:sequence>
40
     </xs:complexType>
41
   </xs:element>
42
 </xs:schema>
43 0

  
lib/spatial/geoserver/schemas/validate/testSuiteSchema.xsd
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <xs:schema targetNamespace="suiteSchema" 
3
    xmlns="testSuiteSchema" 
4
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
5
    xmlns:ogc="http://www.opengis.net/ogc" 
6
    xmlns:gml="http://www.opengis.net/gml" 
7
    elementFormDefault="qualified" 
8
    attributeFormDefault="unqualified">
9
   <xs:import namespace=”http://www.opengis.net/gml”
10
      schemaLocation="http://schemas.opengis.net/gml/2.0.0/geometry.xsd"/>
11
   <xs:import namespace=”http://www.opengis.net/ogc”
12
      schemaLocation="http://schemas.opengis.net/filter/1.0.0/filter.xsd"/>
13
   <xs:element name="suite">
14
     <xs:complexType>
15
       <xs:sequence>
16
         <xs:element name="name" type="xs:string"/>
17
         <xs:element name="description" type="xs:string" minOccurs="0"/>
18
         <xs:element name="test" maxOccurs="unbounded">
19
           <xs:complexType>
20
             <xs:sequence>
21
               <xs:element name="name" type="xs:string"/>
22
               <xs:element name="description" type="xs:string" 
23
                   minOccurs="0"/>
24
               <xs:element name="plugin" type="xs:string"/>
25
               <xs:element name="argument" minOccurs="0"
26
                   maxOccurs="unbounded">
27
                 <xs:complexType>
28
                   <xs:sequence>
29
                     <xs:element name="name" type="xs:string"/>
30
                     <xs:choice>
31
                       <xs:element name="filter" type="ogc:FilterType"/>
32
                       <xs:element name="geometry"
33
                           type="gml:AbstractGeometryType"/>
34
                       <xs:element name="bbox" type="ogc:BBOXType"/>
35
                       <xs:element name="short" type="xs:short"/>
36
                       <xs:element name="integer" type="xs:integer"/>
37
                       <xs:element name="long" type="xs:long"/>
38
                       <xs:element name="float" type="xs:float"/>
39
                       <xs:element name="double" type="xs:double"/>
40
                       <xs:element name="datetime" type="xs:dateTime"/>
41
                       <xs:element name="anyURI" type="xs:anyURI"/>
42
                       <xs:element name="boolean" type="xs:boolean"/>
43
                       <xs:element name="string" type="xs:string"/>
44
                     </xs:choice>
45
                   </xs:sequence>
46
                 </xs:complexType>
47
               </xs:element>
48
             </xs:sequence>
49
           </xs:complexType>
50
         </xs:element>
51
       </xs:sequence>
52
     </xs:complexType>
53
   </xs:element>
54
 </xs:schema>
55 0

  
lib/spatial/geoserver/schemas/gml/2.1.2/xlinks.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" version="2.1.2">
3
  <annotation>
4
    <appinfo>xlinks.xsd v2.1.2 2002-07</appinfo>
5
    <documentation xml:lang="en">
6
      This schema provides the XLink attributes for general use.
7
    </documentation>
8
  </annotation>
9
  <!-- ==============================================================
10
       global declarations
11
  =============================================================== -->
12
  <!-- locator attribute -->
13
  <attribute name="href" type="anyURI"/>
14
  <!-- semantic attributes -->
15
  <attribute name="role" type="anyURI"/>
16
  <attribute name="arcrole" type="anyURI"/>
17
  <attribute name="title" type="string"/>
18
  <!-- behavior attributes -->
19
  <attribute name="show">
20
    <annotation>
21
      <documentation>
22
        The 'show' attribute is used to communicate the desired presentation 
23
        of the ending resource on traversal from the starting resource; it's 
24
        value should be treated as follows: 
25
        new - load ending resource in a new window, frame, pane, or other 
26
              presentation context
27
        replace - load the resource in the same window, frame, pane, or 
28
                  other presentation context
29
        embed - load ending resource in place of the presentation of the 
30
                starting resource
31
        other - behavior is unconstrained; examine other markup in the 
32
                link for hints 
33
        none - behavior is unconstrained 
34
      </documentation>
35
    </annotation>
36
    <simpleType>
37
      <restriction base="string">
38
        <enumeration value="new"/>
39
        <enumeration value="replace"/>
40
        <enumeration value="embed"/>
41
        <enumeration value="other"/>
42
        <enumeration value="none"/>
43
      </restriction>
44
    </simpleType>
45
  </attribute>
46
  <attribute name="actuate">
47
    <annotation>
48
      <documentation>
49
        The 'actuate' attribute is used to communicate the desired timing 
50
        of traversal from the starting resource to the ending resource; 
51
        it's value should be treated as follows:
52
        onLoad - traverse to the ending resource immediately on loading 
53
                 the starting resource 
54
        onRequest - traverse from the starting resource to the ending 
55
                    resource only on a post-loading event triggered for 
56
                    this purpose 
57
        other - behavior is unconstrained; examine other markup in link 
58
                for hints 
59
        none - behavior is unconstrained
60
      </documentation>
61
    </annotation>
62
    <simpleType>
63
      <restriction base="string">
64
        <enumeration value="onLoad"/>
65
        <enumeration value="onRequest"/>
66
        <enumeration value="other"/>
67
        <enumeration value="none"/>
68
      </restriction>
69
    </simpleType>
70
  </attribute>
71
  <!-- traversal attributes -->
72
  <attribute name="label" type="string"/>
73
  <attribute name="from" type="string"/>
74
  <attribute name="to" type="string"/>
75
  <!-- ==============================================================
76
       Attributes grouped by XLink type, as specified by the allowed usage patterns 
77
       in sec. 4.1 of the W3C Recommendation (dated 2001-06-27)
78
  =================================================================== -->
79
  <attributeGroup name="simpleLink">
80
    <attribute name="type" type="string" use="optional" fixed="simple" form="qualified"/>
81
    <attribute ref="xlink:href" use="optional"/>
82
    <attribute ref="xlink:role" use="optional"/>
83
    <attribute ref="xlink:arcrole" use="optional"/>
84
    <attribute ref="xlink:title" use="optional"/>
85
    <attribute ref="xlink:show" use="optional"/>
86
    <attribute ref="xlink:actuate" use="optional"/>
87
  </attributeGroup>
88
  <attributeGroup name="extendedLink">
89
    <attribute name="type" type="string" use="required" fixed="extended" form="qualified"/>
90
    <attribute ref="xlink:role" use="optional"/>
91
    <attribute ref="xlink:title" use="optional"/>
92
  </attributeGroup>
93
  <attributeGroup name="locatorLink">
94
    <attribute name="type" type="string" use="required" fixed="locator" form="qualified"/>
95
    <attribute ref="xlink:href" use="required"/>
96
    <attribute ref="xlink:role" use="optional"/>
97
    <attribute ref="xlink:title" use="optional"/>
98
    <attribute ref="xlink:label" use="optional"/>
99
  </attributeGroup>
100
  <attributeGroup name="arcLink">
101
    <attribute name="type" type="string" use="required" fixed="arc" form="qualified"/>
102
    <attribute ref="xlink:arcrole" use="optional"/>
103
    <attribute ref="xlink:title" use="optional"/>
104
    <attribute ref="xlink:show" use="optional"/>
105
    <attribute ref="xlink:actuate" use="optional"/>
106
    <attribute ref="xlink:from" use="optional"/>
107
    <attribute ref="xlink:to" use="optional"/>
108
  </attributeGroup>
109
  <attributeGroup name="resourceLink">
110
    <attribute name="type" type="string" use="required" fixed="resource" form="qualified"/>
111
    <attribute ref="xlink:role" use="optional"/>
112
    <attribute ref="xlink:title" use="optional"/>
113
    <attribute ref="xlink:label" use="optional"/>
114
  </attributeGroup>
115
  <attributeGroup name="titleLink">
116
    <attribute name="type" type="string" use="required" fixed="title" form="qualified"/>
117
  </attributeGroup>
118
  <attributeGroup name="emptyLink">
119
    <attribute name="type" type="string" use="required" fixed="empty" form="qualified"/>
120
  </attributeGroup>
121
</schema>
122 0

  
lib/spatial/geoserver/schemas/gml/2.1.2/geometry.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="2.1.2">
3
  <annotation>
4
    <appinfo>geometry.xsd v2.1.2 2002-07</appinfo>
5
    <documentation xml:lang="en">
6
      GML Geometry schema. Copyright (c) 2001,2002 OGC, All Rights Reserved.
7
    </documentation>
8
  </annotation>
9
  <!-- bring in the XLink attributes -->
10
  <import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
11
  <!-- ==============================================================
12
       global declarations
13
  =================================================================== -->
14
  <element name="_Geometry" type="gml:AbstractGeometryType" abstract="true"/>
15
  <element name="_GeometryCollection" type="gml:GeometryCollectionType" abstract="true" substitutionGroup="gml:_Geometry"/>
16
  <element name="geometryMember" type="gml:GeometryAssociationType"/>
17
  <element name="pointMember" type="gml:PointMemberType" substitutionGroup="gml:geometryMember"/>
18
  <element name="lineStringMember" type="gml:LineStringMemberType" substitutionGroup="gml:geometryMember"/>
19
  <element name="polygonMember" type="gml:PolygonMemberType" substitutionGroup="gml:geometryMember"/>
20
  <element name="outerBoundaryIs" type="gml:LinearRingMemberType"/>
21
  <element name="innerBoundaryIs" type="gml:LinearRingMemberType"/>
22
  <!-- primitive geometry elements -->
23
  <element name="Point" type="gml:PointType" substitutionGroup="gml:_Geometry"/>
24
  <element name="LineString" type="gml:LineStringType" substitutionGroup="gml:_Geometry"/>
25
  <element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:_Geometry"/>
26
  <element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:_Geometry"/>
27
  <element name="Box" type="gml:BoxType"/>
28
  <!-- aggregate geometry elements -->
29
  <element name="MultiGeometry" type="gml:GeometryCollectionType" substitutionGroup="gml:_Geometry"/>
30
  <element name="MultiPoint" type="gml:MultiPointType" substitutionGroup="gml:_Geometry"/>
31
  <element name="MultiLineString" type="gml:MultiLineStringType" substitutionGroup="gml:_Geometry"/>
32
  <element name="MultiPolygon" type="gml:MultiPolygonType" substitutionGroup="gml:_Geometry"/>
33
  <!-- coordinate elements -->
34
  <element name="coord" type="gml:CoordType"/>
35
  <element name="coordinates" type="gml:CoordinatesType"/>
36
  <!-- this attribute gives the location where an element is defined -->
37
  <attribute name="remoteSchema" type="anyURI"/>
38
  <!-- ==============================================================
39
       abstract supertypes
40
  =================================================================== -->
41
  <complexType name="AbstractGeometryType" abstract="true">
42
    <annotation>
43
      <documentation>
44
        All geometry elements are derived from this abstract supertype; 
45
        a geometry element may have an identifying attribute (gid). 
46
        It may be associated with a spatial reference system.
47
      </documentation>
48
    </annotation>
49
    <complexContent>
50
      <restriction base="anyType">
51
        <attribute name="gid" type="ID" use="optional"/>
52
        <attribute name="srsName" type="anyURI" use="optional"/>
53
      </restriction>
54
    </complexContent>
55
  </complexType>
56
  <complexType name="AbstractGeometryCollectionBaseType" abstract="true">
57
    <annotation>
58
      <documentation>
59
        This abstract base type for geometry collections just makes the 
60
        srsName attribute mandatory.
61
      </documentation>
62
    </annotation>
63
    <complexContent>
64
      <restriction base="gml:AbstractGeometryType">
65
        <attribute name="gid" type="ID" use="optional"/>
66
        <attribute name="srsName" type="anyURI" use="required"/>
67
      </restriction>
68
    </complexContent>
69
  </complexType>
70
  <attributeGroup name="AssociationAttributeGroup">
71
    <annotation>
72
      <documentation>
73
        These attributes can be attached to any element, thus allowing it 
74
        to act as a pointer. The 'remoteSchema' attribute allows an element 
75
        that carries link attributes to indicate that the element is declared 
76
        in a remote schema rather than by the schema that constrains the 
77
        current document instance.  
78
      </documentation>
79
    </annotation>
80
    <attributeGroup ref="xlink:simpleLink"/>
81
    <attribute ref="gml:remoteSchema" use="optional"/>
82
  </attributeGroup>
83
  <complexType name="GeometryAssociationType">
84
    <annotation>
85
      <documentation>
86
        An instance of this type (e.g. a geometryMember) can either 
87
        enclose or point to a primitive geometry element. When serving 
88
        as a simple link that references a remote geometry instance, 
89
        the value of the gml:remoteSchema attribute can be used to 
90
        locate a schema fragment that constrains the target instance.
91
      </documentation>
92
    </annotation>
93
    <sequence minOccurs="0">
94
      <element ref="gml:_Geometry"/>
95
    </sequence>
96
    <!-- <attributeGroup ref="gml:AssociationAttributeGroup"/> -->
97
    <attributeGroup ref="xlink:simpleLink"/>
98
    <attribute ref="gml:remoteSchema" use="optional"/>
99
  </complexType>
100
  <complexType name="PointMemberType">
101
    <annotation>
102
      <documentation>Restricts the geometry member to being a Point instance.</documentation>
103
    </annotation>
104
    <complexContent>
105
      <restriction base="gml:GeometryAssociationType">
106
        <sequence minOccurs="0">
107
          <element ref="gml:Point"/>
108
        </sequence>
109
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
110
      </restriction>
111
    </complexContent>
112
  </complexType>
113
  <complexType name="LineStringMemberType">
114
    <annotation>
115
      <documentation>Restricts the geometry member to being a LineString instance.</documentation>
116
    </annotation>
117
    <complexContent>
118
      <restriction base="gml:GeometryAssociationType">
119
        <sequence minOccurs="0">
120
          <element ref="gml:LineString"/>
121
        </sequence>
122
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
123
      </restriction>
124
    </complexContent>
125
  </complexType>
126
  <complexType name="PolygonMemberType">
127
    <annotation>
128
      <documentation>Restricts the geometry member to being a Polygon instance.</documentation>
129
    </annotation>
130
    <complexContent>
131
      <restriction base="gml:GeometryAssociationType">
132
        <sequence minOccurs="0">
133
          <element ref="gml:Polygon"/>
134
        </sequence>
135
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
136
      </restriction>
137
    </complexContent>
138
  </complexType>
139
  <complexType name="LinearRingMemberType">
140
    <annotation>
141
      <documentation>Restricts the outer or inner boundary of a polygon instance 
142
			to being a LinearRing.</documentation>
143
    </annotation>
144
    <complexContent>
145
      <restriction base="gml:GeometryAssociationType">
146
        <sequence minOccurs="0">
147
          <element ref="gml:LinearRing"/>
148
        </sequence>
149
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
150
      </restriction>
151
    </complexContent>
152
  </complexType>
153
  <!-- ==============================================================
154
       primitive geometry types
155
  =================================================================== -->
156
  <complexType name="PointType">
157
    <annotation>
158
      <documentation>
159
        A Point is defined by a single coordinate tuple.
160
      </documentation>
161
    </annotation>
162
    <complexContent>
163
      <extension base="gml:AbstractGeometryType">
164
        <sequence>
165
          <choice>
166
            <element ref="gml:coord"/>
167
            <element ref="gml:coordinates"/>
168
          </choice>
169
        </sequence>
170
      </extension>
171
    </complexContent>
172
  </complexType>
173
  <complexType name="LineStringType">
174
    <annotation>
175
      <documentation>
176
        A LineString is defined by two or more coordinate tuples, with 
177
        linear interpolation between them. 
178
      </documentation>
179
    </annotation>
180
    <complexContent>
181
      <extension base="gml:AbstractGeometryType">
182
        <sequence>
183
          <choice>
184
            <element ref="gml:coord" minOccurs="2" maxOccurs="unbounded"/>
185
            <element ref="gml:coordinates"/>
186
          </choice>
187
        </sequence>
188
      </extension>
189
    </complexContent>
190
  </complexType>
191
  <complexType name="LinearRingType">
192
    <annotation>
193
      <documentation>
194
        A LinearRing is defined by four or more coordinate tuples, with 
195
        linear interpolation between them; the first and last coordinates 
196
        must be coincident.
197
      </documentation>
198
    </annotation>
199
    <complexContent>
200
      <extension base="gml:AbstractGeometryType">
201
        <sequence>
202
          <choice>
203
            <element ref="gml:coord" minOccurs="4" maxOccurs="unbounded"/>
204
            <element ref="gml:coordinates"/>
205
          </choice>
206
        </sequence>
207
      </extension>
208
    </complexContent>
209
  </complexType>
210
  <complexType name="BoxType">
211
    <annotation>
212
      <documentation>
213
        The Box structure defines an extent using a pair of coordinate tuples.
214
      </documentation>
215
    </annotation>
216
    <complexContent>
217
      <extension base="gml:AbstractGeometryType">
218
        <sequence>
219
          <choice>
220
            <element ref="gml:coord" minOccurs="2" maxOccurs="2"/>
221
            <element ref="gml:coordinates"/>
222
          </choice>
223
        </sequence>
224
      </extension>
225
    </complexContent>
226
  </complexType>
227
  <complexType name="PolygonType">
228
    <annotation>
229
      <documentation>
230
        A Polygon is defined by an outer boundary and zero or more inner 
231
        boundaries which are in turn defined by LinearRings.
232
      </documentation>
233
    </annotation>
234
    <complexContent>
235
      <extension base="gml:AbstractGeometryType">
236
        <sequence>
237
          <element ref="gml:outerBoundaryIs"/>
238
          <element ref="gml:innerBoundaryIs" minOccurs="0" maxOccurs="unbounded"/>
239
        </sequence>
240
      </extension>
241
    </complexContent>
242
  </complexType>
243
  <!-- ==============================================================
244
       aggregate geometry types
245
  =================================================================== -->
246
  <complexType name="GeometryCollectionType">
247
    <annotation>
248
      <documentation>
249
        A geometry collection must include one or more geometries, referenced 
250
        through geometryMember elements. User-defined geometry collections 
251
        that accept GML geometry classes as members must instantiate--or 
252
        derive from--this type.
253
      </documentation>
254
    </annotation>
255
    <complexContent>
256
      <extension base="gml:AbstractGeometryCollectionBaseType">
257
        <sequence>
258
          <element ref="gml:geometryMember" maxOccurs="unbounded"/>
259
        </sequence>
260
      </extension>
261
    </complexContent>
262
  </complexType>
263
  <complexType name="MultiPointType">
264
    <annotation>
265
      <documentation>
266
        A MultiPoint is defined by one or more Points, referenced through 
267
        pointMember elements.
268
      </documentation>
269
    </annotation>
270
    <complexContent>
271
      <restriction base="gml:GeometryCollectionType">
272
        <sequence>
273
          <element ref="gml:pointMember" maxOccurs="unbounded"/>
274
        </sequence>
275
        <attribute name="gid" type="ID" use="optional"/>
276
        <attribute name="srsName" type="anyURI" use="required"/>
277
      </restriction>
278
    </complexContent>
279
  </complexType>
280
  <complexType name="MultiLineStringType">
281
    <annotation>
282
      <documentation>
283
        A MultiLineString is defined by one or more LineStrings, referenced 
284
        through lineStringMember elements.
285
      </documentation>
286
    </annotation>
287
    <complexContent>
288
      <restriction base="gml:GeometryCollectionType">
289
        <sequence>
290
          <element ref="gml:lineStringMember" maxOccurs="unbounded"/>
291
        </sequence>
292
        <attribute name="gid" type="ID" use="optional"/>
293
        <attribute name="srsName" type="anyURI" use="required"/>
294
      </restriction>
295
    </complexContent>
296
  </complexType>
297
  <complexType name="MultiPolygonType">
298
    <annotation>
299
      <documentation>
300
        A MultiPolygon is defined by one or more Polygons, referenced through 
301
        polygonMember elements. 
302
      </documentation>
303
    </annotation>
304
    <complexContent>
305
      <restriction base="gml:GeometryCollectionType">
306
        <sequence>
307
          <element ref="gml:polygonMember" maxOccurs="unbounded"/>
308
        </sequence>
309
        <attribute name="gid" type="ID" use="optional"/>
310
        <attribute name="srsName" type="anyURI" use="required"/>
311
      </restriction>
312
    </complexContent>
313
  </complexType>
314
  <!-- ==============================================================
315
       There are two ways to represent coordinates: (1) as a sequence 
316
       of <coord> elements that encapsulate tuples, or (2) using a 
317
       single <coordinates> string.
318
  =================================================================== -->
319
  <complexType name="CoordType">
320
    <annotation>
321
      <documentation>
322
        Represents a coordinate tuple in one, two, or three dimensions.
323
      </documentation>
324
    </annotation>
325
    <sequence>
326
      <element name="X" type="decimal"/>
327
      <element name="Y" type="decimal" minOccurs="0"/>
328
      <element name="Z" type="decimal" minOccurs="0"/>
329
    </sequence>
330
  </complexType>
331
  <complexType name="CoordinatesType">
332
    <annotation>
333
      <documentation>
334
        Coordinates can be included in a single string, but there is no 
335
        facility for validating string content. The value of the 'cs' attribute 
336
        is the separator for coordinate values, and the value of the 'ts' 
337
        attribute gives the tuple separator (a single space by default); the 
338
        default values may be changed to reflect local usage.
339
      </documentation>
340
    </annotation>
341
    <simpleContent>
342
      <extension base="string">
343
        <attribute name="decimal" type="string" use="optional" default="."/>
344
        <attribute name="cs" type="string" use="optional" default=","/>
345
        <attribute name="ts" type="string" use="optional" default="&#x20;"/>
346
      </extension>
347
    </simpleContent>
348
  </complexType>
349
</schema>
350 0

  
lib/spatial/geoserver/schemas/gml/2.1.2/feature.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="2.1.2">
3
  <annotation>
4
    <appinfo>feature.xsd v2.1.2 2002-07</appinfo>
5
    <documentation xml:lang="en">
6
      GML Feature schema. Copyright (c) 2002 OGC, All Rights Reserved.
7
    </documentation>
8
  </annotation>
9
  <!-- include constructs from the GML Geometry schema -->
10
  <include schemaLocation="geometry.xsd"/>
11
  <!-- bring in the XLink namespace -->
12
 <import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
13

  
14
  
15
  <!-- ==============================================================
16
       global declarations
17
  =================================================================== -->
18
  <element name="_Feature" type="gml:AbstractFeatureType" abstract="true"/>
19
  <element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
20
  <element name="featureMember" type="gml:FeatureAssociationType"/>
21
  <!-- some basic geometric properties of features -->
22
  <element name="_geometryProperty" type="gml:GeometryAssociationType" abstract="true"/>
23
  <element name="geometryProperty" type="gml:GeometryAssociationType"/>
24
  <element name="boundedBy" type="gml:BoundingShapeType"/>
25
  <element name="pointProperty" type="gml:PointPropertyType" substitutionGroup="gml:_geometryProperty"/>
26
  <element name="polygonProperty" type="gml:PolygonPropertyType" substitutionGroup="gml:_geometryProperty"/>
27
  <element name="lineStringProperty" type="gml:LineStringPropertyType" substitutionGroup="gml:_geometryProperty"/>
28
  <element name="multiPointProperty" type="gml:MultiPointPropertyType" substitutionGroup="gml:_geometryProperty"/>
29
  <element name="multiLineStringProperty" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:_geometryProperty"/>
30
  <element name="multiPolygonProperty" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:_geometryProperty"/>
31
  <element name="multiGeometryProperty" type="gml:MultiGeometryPropertyType" substitutionGroup="gml:_geometryProperty"/>
32
  <!-- common aliases for geometry properties -->
33
  <element name="location" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
34
  <element name="centerOf" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
35
  <element name="position" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
36
  <element name="extentOf" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
37
  <element name="coverage" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
38
  <element name="edgeOf" type="gml:LineStringPropertyType" substitutionGroup="gml:lineStringProperty"/>
39
  <element name="centerLineOf" type="gml:LineStringPropertyType" substitutionGroup="gml:lineStringProperty"/>
40
  <element name="multiLocation" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
41
  <element name="multiCenterOf" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
42
  <element name="multiPosition" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
43
  <element name="multiCenterLineOf" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:multiLineStringProperty"/>
44
  <element name="multiEdgeOf" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:multiLineStringProperty"/>
45
  <element name="multiCoverage" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:multiPolygonProperty"/>
46
  <element name="multiExtentOf" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:multiPolygonProperty"/>
47
  <!-- common feature descriptors -->
48
  <element name="description" type="string"/>
49
  <element name="name" type="string"/>
50
  <!-- ==============================================================
51
       abstract supertypes
52
  =================================================================== -->
53
  <complexType name="AbstractFeatureType" abstract="true">
54
    <annotation>
55
      <documentation>
56
        An abstract feature provides a set of common properties. A concrete 
57
        feature type must derive from this type and specify additional 
58
        properties in an application schema. A feature may optionally 
59
        possess an identifying attribute ('fid').
60
      </documentation>
61
    </annotation>
62
    <sequence>
63
      <element ref="gml:description" minOccurs="0"/>
64
      <element ref="gml:name" minOccurs="0"/>
65
      <element ref="gml:boundedBy" minOccurs="0"/>
66
      <!-- additional properties must be specified in an application schema -->
67
    </sequence>
68
    <attribute name="fid" type="ID" use="optional"/>
69
  </complexType>
70
  <complexType name="AbstractFeatureCollectionBaseType" abstract="true">
71
    <annotation>
72
      <documentation>
73
        This abstract base type just makes the boundedBy element mandatory 
74
        for a feature collection.
75
      </documentation>
76
    </annotation>
77
    <complexContent>
78
      <restriction base="gml:AbstractFeatureType">
79
        <sequence>
80
          <element ref="gml:description" minOccurs="0"/>
81
          <element ref="gml:name" minOccurs="0"/>
82
          <element ref="gml:boundedBy"/>
83
        </sequence>
84
        <attribute name="fid" type="ID" use="optional"/>
85
      </restriction>
86
    </complexContent>
87
  </complexType>
88
  <complexType name="AbstractFeatureCollectionType" abstract="true">
89
    <annotation>
90
      <documentation>
91
        A feature collection contains zero or more featureMember elements.
92
      </documentation>
93
    </annotation>
94
    <complexContent>
95
      <extension base="gml:AbstractFeatureCollectionBaseType">
96
        <sequence>
97
          <element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
98
        </sequence>
99
      </extension>
100
    </complexContent>
101
  </complexType>
102
  <complexType name="GeometryPropertyType">
103
		<annotation>
104
			<documentation>
105
        A simple geometry property encapsulates a geometry element.
106
        Alternatively, it can function as a pointer (simple-type link) 
107
        that refers to a remote geometry element.
108
      </documentation>
109
		</annotation>
110
		<sequence minOccurs="0">
111
			<element ref="gml:_Geometry"/>
112
		</sequence>
113
		<attributeGroup ref="xlink:simpleLink"/>
114
             <attribute ref="gml:remoteSchema" use="optional"/>
115
  </complexType>
116
  <complexType name="FeatureAssociationType">
117
    <annotation>
118
      <documentation>
119
        An instance of this type (e.g. a featureMember) can either 
120
        enclose or point to a feature (or feature collection); this 
121
        type can be restricted in an application schema to allow only 
122
        specified features as valid participants in the association. 
123
        When serving as a simple link that references a remote feature 
124
        instance, the value of the gml:remoteSchema attribute can be 
125
        used to locate a schema fragment that constrains the target 
126
        instance.
127
      </documentation>
128
    </annotation>
129
    <sequence minOccurs="0">
130
      <element ref="gml:_Feature"/>
131
    </sequence>
132
    <attributeGroup ref="xlink:simpleLink"/>
133
    <attribute ref="gml:remoteSchema" use="optional"/>
134
  </complexType>
135
  <complexType name="BoundingShapeType">
136
    <annotation>
137
      <documentation>
138
        Bounding shapes--a Box or a null element are currently allowed.
139
      </documentation>
140
    </annotation>
141
    <sequence>
142
      <choice>
143
        <element ref="gml:Box"/>
144
        <element name="null" type="gml:NullType"/>
145
      </choice>
146
    </sequence>
147
  </complexType>
148
  <!-- ==============================================================
149
       geometry properties
150
  =================================================================== -->
151
  <complexType name="PointPropertyType">
152
    <annotation>
153
      <documentation>
154
        Encapsulates a single point to represent position, location, or 
155
        centerOf properties.
156
      </documentation>
157
    </annotation>
158
    <complexContent>
159
      <restriction base="gml:GeometryAssociationType">
160
        <sequence minOccurs="0">
161
          <element ref="gml:Point"/>
162
        </sequence>
163
        <attributeGroup ref="xlink:simpleLink"/>
164
        <attribute ref="gml:remoteSchema" use="optional"/>
165
      </restriction>
166
    </complexContent>
167
  </complexType>
168
  <complexType name="PolygonPropertyType">
169
    <annotation>
170
      <documentation>
171
        Encapsulates a single polygon to represent coverage or extentOf 
172
        properties.
173
      </documentation>
174
    </annotation>
175
    <complexContent>
176
      <restriction base="gml:GeometryAssociationType">
177
        <sequence minOccurs="0">
178
          <element ref="gml:Polygon"/>
179
        </sequence>
180
        <attributeGroup ref="xlink:simpleLink"/>
181
        <attribute ref="gml:remoteSchema" use="optional"/>
182
      </restriction>
183
    </complexContent>
184
  </complexType>
185
  <complexType name="LineStringPropertyType">
186
    <annotation>
187
      <documentation>
188
        Encapsulates a single LineString to represent centerLineOf or 
189
        edgeOf properties.
190
      </documentation>
191
    </annotation>
192
    <complexContent>
193
      <restriction base="gml:GeometryAssociationType">
194
        <sequence minOccurs="0">
195
          <element ref="gml:LineString"/>
196
        </sequence>
197
        <attributeGroup ref="xlink:simpleLink"/>
198
        <attribute ref="gml:remoteSchema" use="optional"/>
199
      </restriction>
200
    </complexContent>
201
  </complexType>
202
  <complexType name="MultiPointPropertyType">
203
    <annotation>
204
      <documentation>
205
        Encapsulates a MultiPoint element to represent the following 
206
        discontiguous geometric properties: multiLocation, multiPosition, 
207
        multiCenterOf.
208
      </documentation>
209
    </annotation>
210
    <complexContent>
211
      <restriction base="gml:GeometryAssociationType">
212
        <sequence minOccurs="0">
213
          <element ref="gml:MultiPoint"/>
214
        </sequence>
215
        <attributeGroup ref="xlink:simpleLink"/>
216
        <attribute ref="gml:remoteSchema" use="optional"/>
217
      </restriction>
218
    </complexContent>
219
  </complexType>
220
  <complexType name="MultiLineStringPropertyType">
221
    <annotation>
222
      <documentation>
223
        Encapsulates a MultiLineString element to represent the following 
224
        discontiguous geometric properties: multiEdgeOf, multiCenterLineOf.
225
      </documentation>
226
    </annotation>
227
    <complexContent>
228
      <restriction base="gml:GeometryAssociationType">
229
        <sequence minOccurs="0">
230
          <element ref="gml:MultiLineString"/>
231
        </sequence>
232
        <attributeGroup ref="xlink:simpleLink"/>
233
        <attribute ref="gml:remoteSchema" use="optional"/>
234
      </restriction>
235
    </complexContent>
236
  </complexType>
237
  <complexType name="MultiPolygonPropertyType">
238
    <annotation>
239
      <documentation>
240
        Encapsulates a MultiPolygon to represent the following discontiguous 
241
        geometric properties: multiCoverage, multiExtentOf.
242
      </documentation>
243
    </annotation>
244
    <complexContent>
245
      <restriction base="gml:GeometryAssociationType">
246
        <sequence minOccurs="0">
247
          <element ref="gml:MultiPolygon"/>
248
        </sequence>
249
        <attributeGroup ref="xlink:simpleLink"/>
250
        <attribute ref="gml:remoteSchema" use="optional"/>
251
      </restriction>
252
    </complexContent>
253
  </complexType>
254
  <complexType name="MultiGeometryPropertyType">
255
    <annotation>
256
      <documentation>Encapsulates a MultiGeometry element.</documentation>
257
    </annotation>
258
    <complexContent>
259
      <restriction base="gml:GeometryAssociationType">
260
        <sequence minOccurs="0">
261
          <element ref="gml:MultiGeometry"/>
262
        </sequence>
263
        <attributeGroup ref="xlink:simpleLink"/>
264
        <attribute ref="gml:remoteSchema" use="optional"/>
265
      </restriction>
266
    </complexContent>
267
  </complexType>
268
  <simpleType name="NullType">
269
    <annotation>
270
      <documentation>
271
        If a bounding shape is not provided for a feature collection, 
272
        explain why. Allowable values are:
273
        innapplicable - the features do not have geometry
274
        unknown - the boundingBox cannot be computed
275
        unavailable - there may be a boundingBox but it is not divulged
276
        missing - there are no features
277
      </documentation>
278
    </annotation>
279
    <restriction base="string">
280
      <enumeration value="inapplicable"/>
281
      <enumeration value="unknown"/>
282
      <enumeration value="unavailable"/>
283
      <enumeration value="missing"/>
284
    </restriction>
285
  </simpleType>
286
</schema>
287 0

  
lib/spatial/geoserver/schemas/wfs/1.0.0/WFS-capabilities.xsd
1
<?xml version="1.0" ?>
2
<xsd:schema
3
   targetNamespace="http://www.opengis.net/wfs"
4
   xmlns:wfs="http://www.opengis.net/wfs"
5
   xmlns:gml="http://www.opengis.net/gml"
6
   xmlns:ogc="http://www.opengis.net/ogc"
7
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8
   elementFormDefault="qualified">
9

  
10
   <!-- Comments in this document may impose additional constraints
11
        beyond those codified in the schema syntax.  A conformant
12
        Web Feature Server must provide Capabilities XML that
13
           (1) validates against this schema
14
           (2) does not violate the constraints stated in
15
               comments herein. -->
16

  
17
   <!-- ==============================================================
18
        Imports ...
19
        ============================================================== -->
20
   <xsd:import namespace="http://www.opengis.net/ogc"
21
               schemaLocation="../../filter/1.0.0/filterCapabilities.xsd" />
22

  
23
   <!-- ==============================================================
24
        Global elements and attributes
25
        ============================================================== -->
26
   <!-- A descriptive narrative for more
27
        information about this server. -->
28
   <xsd:element name="Abstract" type="xsd:string"/>
29
   <!-- Elements containing text blocks indicating what 
30
        fees or access constraints are imposed by the 
31
        service provider on the service or data retrieved
32
        from the server. The reserved keyword "NONE" 
33
        indicates no constraint exists. -->
34
   <xsd:element name="AccessConstraints" type="xsd:string"/>
35
   <xsd:element name="Fees" type="xsd:string"/>
36
   <!-- Short words to help catalog searching.
37
        Currently, no controlled vocabulary has
38
        been defined. -->
39
   <xsd:element name="Keywords" type="xsd:string"/>
40
   <!-- The top-level HTTP URL of this service. 
41
        Typically the URL of a "home page" for
42
        the service.  See also the onlineResource
43
        attributes of <DCPType> children, below.
44
        Currently, no non-HTTP platforms have been
45
        specified. -->
46
   <xsd:element name="OnlineResource"/>
47
   <xsd:element name="SRS" type="xsd:string"/>
48
   <!-- A human-readable title to briefly identify
49
        this server in menus. -->
50
   <xsd:element name="Title" type="xsd:string"/>
51

  
52
   <xsd:element name="Query"  type="wfs:EmptyType"/>
53
   <xsd:element name="Insert" type="wfs:EmptyType"/>
54
   <xsd:element name="Update" type="wfs:EmptyType"/>
55
   <xsd:element name="Delete" type="wfs:EmptyType"/>
56
   <xsd:element name="Lock"   type="wfs:EmptyType"/>
57

  
58
   <!-- REDEFINE THIS ELEMENT AS NEEDED IN YOUR XML  -->
59
   <xsd:element name="VendorSpecificCapabilities" type="xsd:string"/>
60

  
61
   <!-- ==============================================================
62
        Root element
63
        ============================================================== -->
64
   <!-- The parent element of the Capabilities document includes as
65
        children a Service element with general information about the
66
        server, a Capability element with specific information about
67
        the kinds of functionality offered by the server, a FeatureTypeList
68
        element defining the list of all feature types available from
69
        this server and a FeatureCapabilities element describing the
70
        filter capabilities of the server. -->
71
   <xsd:element name="WFS_Capabilities" type="wfs:WFS_CapabilitiesType"/>
72

  
73
   <!-- ==============================================================
74
        Types
75
        ============================================================== -->
76
   <xsd:complexType name="WFS_CapabilitiesType">
77
      <xsd:sequence>
78
         <!-- The Service element provides metadata for
79
              the service as a whole. -->
80
         <xsd:element name="Service" type="wfs:ServiceType"/>
81

  
82
         <!-- A Capability lists available request
83
              types, how exceptions may be reported, and
84
              whether any vendor-specific capabilities
85
              are defined.  It also lists all the
86
              feature types available from this feature 
87
              server. -->
88
         <xsd:element name="Capability" type="wfs:CapabilityType"/>
89
         <xsd:element name="FeatureTypeList" type="wfs:FeatureTypeListType"/>
90
         <xsd:element ref="ogc:Filter_Capabilities" />
91
      </xsd:sequence>
92

  
93
      <!-- The version attribute specifies the specification revision
94
           to which this schema applies.  Its format is one,t two or three
95
           integers separated by periods: "x", or "x.y", or "x.y.z",
96
           with the most significant number appearing first.  Future
97
           revisions are guaranteed to be numbered in monotonically
98
           increasing fashion, though gaps may appear in the sequence. -->
99
      <xsd:attribute name="version"
100
                     type="xsd:string" fixed="1.0.0"/>
101

  
102
      <!-- The updateSequence attribute is a sequence number for
103
           managing propagation of the contents of this document.
104
           For example, if a Feature Server adds some data feature
105
           types it can increment the update sequence to inform
106
           catalog servers that their previously cached versions
107
           are now stale. The format is a positive integer. -->
108
      <xsd:attribute name="updateSequence"
109
                     type="xsd:nonNegativeInteger" default="0"/>
110
   </xsd:complexType>
111

  
112
   <xsd:complexType name="ServiceType">
113
      <xsd:sequence>
114
         <xsd:element name="Name" type="xsd:string"/>
115
         <xsd:element ref="wfs:Title"/>
116
         <xsd:element ref="wfs:Abstract" minOccurs="0"/>
117
         <xsd:element ref="wfs:Keywords" minOccurs="0"/>
118
         <xsd:element ref="wfs:OnlineResource"/>
119
         <xsd:element ref="wfs:Fees" minOccurs="0"/>
120
         <xsd:element ref="wfs:AccessConstraints" minOccurs="0"/>
121
      </xsd:sequence>
122
   </xsd:complexType>
123

  
124
   <xsd:complexType name="CapabilityType">
125
      <xsd:sequence>
126
         <xsd:element name="Request" type="wfs:RequestType"/>
127
         <!-- The optional VendorSpecificCapabilities element lists any
128
              capabilities unique to a particular server.  Because the
129
              information is not known a priori, it cannot be constrained
130
              by this particular schema document.  A vendor-specific schema
131
              fragment must be supplied at the start of the XML capabilities
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff