source: RevitalizationWS/schemas/filter/trunk/src/main/resources/expr.xsd @ 7382

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/filter/trunk/src/main/resources/expr.xsd@7382
Revision 7382, 2.7 KB checked in by mnagni, 10 years ago (diff)

version 1.1.0 of the OGC Filter library

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsd:schema targetNamespace="http://www.opengis.net/ogc"
3   xmlns:ogc="http://www.opengis.net/ogc"
4   xmlns:gml="http://www.opengis.net/gml"
5   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6   elementFormDefault="qualified"
7   version="1.1.1">
8   <!--
9      filter is an OGC Standard.
10      Copyright (c) 2002,2003,2004,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
11      To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12     
13      Updated: 2010-01-22
14   -->
15   <xsd:element name="Add" type="ogc:BinaryOperatorType"
16      substitutionGroup="ogc:expression"/>
17   <xsd:element name="Sub" type="ogc:BinaryOperatorType"
18      substitutionGroup="ogc:expression"/>
19   <xsd:element name="Mul" type="ogc:BinaryOperatorType"
20      substitutionGroup="ogc:expression"/>
21   <xsd:element name="Div" type="ogc:BinaryOperatorType"
22      substitutionGroup="ogc:expression"/>
23   <xsd:element name="PropertyName" type="ogc:PropertyNameType"
24      substitutionGroup="ogc:expression"/>
25   <xsd:element name="Function" type="ogc:FunctionType"
26      substitutionGroup="ogc:expression"/>
27   <xsd:element name="Literal" type="ogc:LiteralType"
28      substitutionGroup="ogc:expression"/>
29   <xsd:element name="expression" type="ogc:ExpressionType" abstract="true"/>
30   <!-- <xsd:complexType name="ExpressionType" abstract="true" mixed="true"/>
31     -->
32   <xsd:complexType name="ExpressionType" abstract="true"/>
33   <xsd:complexType name="BinaryOperatorType">
34      <xsd:complexContent>
35         <xsd:extension base="ogc:ExpressionType">
36            <xsd:sequence>
37               <xsd:element ref="ogc:expression" minOccurs="2" maxOccurs="2"/>
38            </xsd:sequence>
39         </xsd:extension>
40      </xsd:complexContent>
41   </xsd:complexType>
42   <xsd:complexType name="FunctionType">
43      <xsd:complexContent>
44         <xsd:extension base="ogc:ExpressionType">
45            <xsd:sequence>
46               <xsd:element ref="ogc:expression" minOccurs="0"
47                  maxOccurs="unbounded"/>
48            </xsd:sequence>
49            <xsd:attribute name="name" type="xsd:string" use="required"/>
50         </xsd:extension>
51      </xsd:complexContent>
52   </xsd:complexType>
53   <xsd:complexType name="LiteralType">
54      <xsd:complexContent mixed="true">
55         <xsd:extension base="ogc:ExpressionType">
56            <xsd:sequence>
57               <xsd:any minOccurs="0"/>
58            </xsd:sequence>
59         </xsd:extension>
60      </xsd:complexContent>
61   </xsd:complexType>
62   <xsd:complexType name="PropertyNameType">
63      <xsd:complexContent mixed="true">
64         <xsd:extension base="ogc:ExpressionType"/>
65      </xsd:complexContent>
66   </xsd:complexType>
67</xsd:schema>
Note: See TracBrowser for help on using the repository browser.