Project

General

Profile

« Previous | Next » 

Revision 2a177af5

Added by Andreas Müller over 12 years ago

Add mapServices schema

View differences:

.gitattributes
58 58
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/openurl/MobotOpenUrlServiceWrapper.java -text
59 59
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/openurl/OpenUrlReference.java -text
60 60
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/sru/SruServiceWrapper.java -text
61
cdmlib-ext/src/main/resources/eu/etaxonomy/cdm/ext/geo/mapServices_v10.xsd -text
61 62
cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/bci/BciServiceTest.java -text
62 63
cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java -text
63 64
cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/ipni/IpniServiceTest.java -text
cdmlib-ext/src/main/resources/eu/etaxonomy/cdm/ext/geo/mapServices_v10.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Mit XMLSpy v2011 sp1 (http://www.altova.com) von Andreas Müller (BGBM) bearbeitet -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
	<xs:element name="mapService">
5
		<xs:annotation>
6
			<xs:documentation>Map service. If type is wms the uri attribute is required and points to the wms service to use. If type is editMapService the uri should be the uri of the edit map services (optional).</xs:documentation>
7
		</xs:annotation>
8
		<xs:complexType>
9
			<xs:sequence>
10
				<xs:element name="area">
11
					<xs:complexType>
12
						<xs:sequence>
13
							<xs:element name="layer"/>
14
							<xs:element name="field"/>
15
							<xs:element name="value" maxOccurs="unbounded"/>
16
						</xs:sequence>
17
					</xs:complexType>
18
				</xs:element>
19
			</xs:sequence>
20
			<xs:attribute name="type" use="required">
21
				<xs:simpleType>
22
					<xs:restriction base="xs:string">
23
						<xs:enumeration value="editMapService"/>
24
						<xs:enumeration value="wms"/>
25
					</xs:restriction>
26
				</xs:simpleType>
27
			</xs:attribute>
28
			<xs:attribute name="uri"/>
29
		</xs:complexType>
30
	</xs:element>
31
</xs:schema>

Also available in: Unified diff