| 1 | <?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://agavi.org/agavi/1.0/config" targetNamespace="http://agavi.org/agavi/1.0/config" elementFormDefault="qualified"> |
|---|
| 3 | |
|---|
| 4 | <xs:include schemaLocation="default_tags.xsd"/> |
|---|
| 5 | |
|---|
| 6 | <xs:complexType name="configuration"> |
|---|
| 7 | <xs:complexContent> |
|---|
| 8 | <xs:extension base="base_configuration_with_context"> |
|---|
| 9 | <xs:group ref="cachings" /> |
|---|
| 10 | </xs:extension> |
|---|
| 11 | </xs:complexContent> |
|---|
| 12 | </xs:complexType> |
|---|
| 13 | |
|---|
| 14 | <xs:group name="cachings"> |
|---|
| 15 | <xs:choice> |
|---|
| 16 | <xs:element name="cachings" type="cachings" minOccurs="0" /> |
|---|
| 17 | <xs:element name="caching" type="caching" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 18 | </xs:choice> |
|---|
| 19 | </xs:group> |
|---|
| 20 | <xs:complexType name="cachings"> |
|---|
| 21 | <xs:sequence> |
|---|
| 22 | <xs:element name="caching" type="caching" maxOccurs="unbounded" /> |
|---|
| 23 | </xs:sequence> |
|---|
| 24 | </xs:complexType> |
|---|
| 25 | <xs:complexType name="caching"> |
|---|
| 26 | <xs:sequence maxOccurs="unbounded"> |
|---|
| 27 | <xs:group ref="groups" /> |
|---|
| 28 | <xs:group ref="views" /> |
|---|
| 29 | <xs:group ref="action_attributes" /> |
|---|
| 30 | <xs:group ref="output_types" /> |
|---|
| 31 | </xs:sequence> |
|---|
| 32 | <xs:attribute name="method" type="php_label_list" /> |
|---|
| 33 | <xs:attribute name="enabled" type="xs:boolean" /> |
|---|
| 34 | <xs:attribute name="lifetime" type="xs:string" /> |
|---|
| 35 | </xs:complexType> |
|---|
| 36 | |
|---|
| 37 | <xs:group name="groups"> |
|---|
| 38 | <xs:choice> |
|---|
| 39 | <xs:element name="groups" type="groups" minOccurs="0" /> |
|---|
| 40 | <xs:element name="group" type="group" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 41 | </xs:choice> |
|---|
| 42 | </xs:group> |
|---|
| 43 | <xs:complexType name="groups"> |
|---|
| 44 | <xs:sequence> |
|---|
| 45 | <xs:element name="group" type="group" maxOccurs="unbounded" /> |
|---|
| 46 | </xs:sequence> |
|---|
| 47 | </xs:complexType> |
|---|
| 48 | <xs:complexType name="group"> |
|---|
| 49 | <xs:simpleContent> |
|---|
| 50 | <xs:extension base="xs:string"> |
|---|
| 51 | <xs:attribute name="source" type="xs:string" /> |
|---|
| 52 | <xs:attribute name="namespace" type="xs:string" /> |
|---|
| 53 | </xs:extension> |
|---|
| 54 | </xs:simpleContent> |
|---|
| 55 | </xs:complexType> |
|---|
| 56 | |
|---|
| 57 | <xs:group name="action_attributes"> |
|---|
| 58 | <xs:choice> |
|---|
| 59 | <xs:element name="action_attributes" type="action_attributes" minOccurs="0" /> |
|---|
| 60 | <xs:element name="action_attribute" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 61 | </xs:choice> |
|---|
| 62 | </xs:group> |
|---|
| 63 | <xs:complexType name="action_attributes"> |
|---|
| 64 | <xs:sequence> |
|---|
| 65 | <xs:element name="action_attribute" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 66 | </xs:sequence> |
|---|
| 67 | </xs:complexType> |
|---|
| 68 | |
|---|
| 69 | <xs:group name="views"> |
|---|
| 70 | <xs:choice> |
|---|
| 71 | <xs:element name="views" type="views" minOccurs="0" /> |
|---|
| 72 | <xs:element name="view" type="view" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 73 | </xs:choice> |
|---|
| 74 | </xs:group> |
|---|
| 75 | <xs:complexType name="views"> |
|---|
| 76 | <xs:sequence> |
|---|
| 77 | <xs:element name="view" type="view" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 78 | </xs:sequence> |
|---|
| 79 | </xs:complexType> |
|---|
| 80 | <xs:complexType name="view"> |
|---|
| 81 | <xs:simpleContent> |
|---|
| 82 | <xs:extension base="xs:string"> |
|---|
| 83 | <xs:attribute name="module" type="php_label" /> |
|---|
| 84 | </xs:extension> |
|---|
| 85 | </xs:simpleContent> |
|---|
| 86 | </xs:complexType> |
|---|
| 87 | |
|---|
| 88 | <xs:group name="output_types"> |
|---|
| 89 | <xs:choice> |
|---|
| 90 | <xs:element name="output_types" type="output_types" minOccurs="0" /> |
|---|
| 91 | <xs:element name="output_type" type="output_type" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 92 | </xs:choice> |
|---|
| 93 | </xs:group> |
|---|
| 94 | <xs:complexType name="output_types"> |
|---|
| 95 | <xs:sequence> |
|---|
| 96 | <xs:element name="output_type" type="output_type" maxOccurs="unbounded" /> |
|---|
| 97 | </xs:sequence> |
|---|
| 98 | </xs:complexType> |
|---|
| 99 | <xs:complexType name="output_type"> |
|---|
| 100 | <xs:sequence maxOccurs="unbounded"> |
|---|
| 101 | <xs:group ref="request_attributes" /> |
|---|
| 102 | <xs:group ref="request_attribute_namespaces" /> |
|---|
| 103 | <xs:group ref="template_variables" /> |
|---|
| 104 | <xs:group ref="layers" /> |
|---|
| 105 | </xs:sequence> |
|---|
| 106 | <xs:attribute name="name" type="php_label_list" /> |
|---|
| 107 | </xs:complexType> |
|---|
| 108 | |
|---|
| 109 | <xs:group name="request_attributes"> |
|---|
| 110 | <xs:choice> |
|---|
| 111 | <xs:element name="request_attributes" type="request_attributes" minOccurs="0" /> |
|---|
| 112 | <xs:element name="request_attribute" type="request_attribute" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 113 | </xs:choice> |
|---|
| 114 | </xs:group> |
|---|
| 115 | <xs:complexType name="request_attributes"> |
|---|
| 116 | <xs:sequence> |
|---|
| 117 | <xs:element name="request_attribute" type="request_attribute" maxOccurs="unbounded" /> |
|---|
| 118 | </xs:sequence> |
|---|
| 119 | </xs:complexType> |
|---|
| 120 | <xs:complexType name="request_attribute"> |
|---|
| 121 | <xs:simpleContent> |
|---|
| 122 | <xs:extension base="xs:string"> |
|---|
| 123 | <xs:attribute name="namespace" type="xs:string" /> |
|---|
| 124 | </xs:extension> |
|---|
| 125 | </xs:simpleContent> |
|---|
| 126 | </xs:complexType> |
|---|
| 127 | |
|---|
| 128 | <xs:group name="request_attribute_namespaces"> |
|---|
| 129 | <xs:choice> |
|---|
| 130 | <xs:element name="request_attribute_namespaces" type="request_attribute_namespaces" minOccurs="0" /> |
|---|
| 131 | <xs:element name="request_attribute_namespace" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 132 | </xs:choice> |
|---|
| 133 | </xs:group> |
|---|
| 134 | <xs:complexType name="request_attribute_namespaces"> |
|---|
| 135 | <xs:sequence> |
|---|
| 136 | <xs:element name="request_attribute_namespace" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 137 | </xs:sequence> |
|---|
| 138 | </xs:complexType> |
|---|
| 139 | |
|---|
| 140 | <xs:group name="template_variables"> |
|---|
| 141 | <xs:choice> |
|---|
| 142 | <xs:element name="template_variables" type="template_variables" minOccurs="0" /> |
|---|
| 143 | <xs:element name="template_variable" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 144 | </xs:choice> |
|---|
| 145 | </xs:group> |
|---|
| 146 | <xs:complexType name="template_variables"> |
|---|
| 147 | <xs:sequence> |
|---|
| 148 | <xs:element name="template_variable" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 149 | </xs:sequence> |
|---|
| 150 | </xs:complexType> |
|---|
| 151 | |
|---|
| 152 | <xs:group name="layers"> |
|---|
| 153 | <xs:choice> |
|---|
| 154 | <xs:element name="layers" type="layers" minOccurs="0" /> |
|---|
| 155 | <xs:element name="layer" type="layer" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 156 | </xs:choice> |
|---|
| 157 | </xs:group> |
|---|
| 158 | <xs:complexType name="layers"> |
|---|
| 159 | <xs:sequence> |
|---|
| 160 | <xs:element name="layer" type="layer" maxOccurs="unbounded" /> |
|---|
| 161 | </xs:sequence> |
|---|
| 162 | </xs:complexType> |
|---|
| 163 | <xs:complexType name="layer"> |
|---|
| 164 | <xs:sequence maxOccurs="unbounded"> |
|---|
| 165 | <xs:group ref="slots" /> |
|---|
| 166 | </xs:sequence> |
|---|
| 167 | <xs:attribute name="name" type="xs:string" use="required" /> |
|---|
| 168 | <xs:attribute name="include" type="xs:string" /> |
|---|
| 169 | </xs:complexType> |
|---|
| 170 | |
|---|
| 171 | <xs:group name="slots"> |
|---|
| 172 | <xs:choice> |
|---|
| 173 | <xs:element name="slots" type="slots" minOccurs="0" /> |
|---|
| 174 | <xs:element name="slot" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 175 | </xs:choice> |
|---|
| 176 | </xs:group> |
|---|
| 177 | <xs:complexType name="slots"> |
|---|
| 178 | <xs:sequence> |
|---|
| 179 | <xs:element name="slot" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|---|
| 180 | </xs:sequence> |
|---|
| 181 | </xs:complexType> |
|---|
| 182 | |
|---|
| 183 | </xs:schema> |
|---|