This repository has been archived by the owner on Dec 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tomcatcontext.xsd
68 lines (68 loc) · 2.51 KB
/
tomcatcontext.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:tomcat6" xmlns="urn:tomcat6"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xs:element name="Context">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Valve" />
<xs:element ref="Parameter" />
<xs:element ref="Environment" />
<xs:element ref="Resource" />
</xs:choice>
<xs:attribute name="path" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="Parameter">
<xs:complexType>
<xs:sequence />
<xs:attribute name="name" type="xs:NMTOKEN" use="required" />
<xs:attribute name="value" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:attribute name="override" type="xs:boolean" default="false" />
</xs:complexType>
</xs:element>
<xs:element name="Environment">
<xs:complexType>
<xs:sequence />
<xs:attribute name="name" type="xs:NMTOKEN" use="required" />
<xs:attribute name="value" type="xs:string" use="required" />
<xs:attribute name="type" type="xs:NMTOKEN" use="required" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:attribute name="override" type="xs:boolean" default="false" />
</xs:complexType>
</xs:element>
<xs:element name="Resource">
<xs:complexType>
<xs:sequence />
<xs:attribute name="name" type="xs:NMTOKEN" use="required" />
<xs:attribute name="type" type="xs:NMTOKEN" use="required" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:attribute name="override" type="xs:boolean" default="false" />
<xs:attribute name="auth">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Application" />
<xs:enumeration value="Container" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="scope" default="Shareable">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Unshareable" />
<xs:enumeration value="Shareable" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:anyAttribute namespace="##any" processContents="lax" />
</xs:complexType>
</xs:element>
<xs:element name="Valve">
<xs:complexType>
<xs:sequence />
<xs:attribute name="className" type="xs:NMTOKEN" use="required" />
<xs:anyAttribute namespace="##any" processContents="lax" />
</xs:complexType>
</xs:element>
</xs:schema>