Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?xml version="1.0" encoding="UTF-8" ?>
2
 
3
<xsd:schema xmlns="http://symfony.com/schema/routing"
4
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5
    targetNamespace="http://symfony.com/schema/routing"
6
    elementFormDefault="qualified">
7
 
8
  <xsd:annotation>
9
    <xsd:documentation><![CDATA[
10
      Symfony XML Routing Schema, version 1.0
11
      Authors: Fabien Potencier, Tobias Schultze
12
 
13
      This scheme defines the elements and attributes that can be used to define
14
      routes. A route maps an HTTP request to a set of configuration variables.
15
    ]]></xsd:documentation>
16
  </xsd:annotation>
17
 
18
  <xsd:element name="routes" type="routes" />
19
 
20
  <xsd:complexType name="routes">
21
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
22
      <xsd:element name="import" type="import" />
23
      <xsd:element name="route" type="route" />
24
      <xsd:element name="when" type="when" />
25
    </xsd:choice>
26
  </xsd:complexType>
27
 
28
  <xsd:complexType name="when">
29
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
30
      <xsd:element name="import" type="import" />
31
      <xsd:element name="route" type="route" />
32
    </xsd:choice>
33
    <xsd:attribute name="env" type="xsd:string" use="required" />
34
  </xsd:complexType>
35
 
36
  <xsd:complexType name="localized-path">
37
    <xsd:simpleContent>
38
      <xsd:extension base="xsd:string">
39
        <xsd:attribute name="locale" type="xsd:string" use="required" />
40
      </xsd:extension>
41
    </xsd:simpleContent>
42
  </xsd:complexType>
43
 
44
  <xsd:group name="configs">
45
    <xsd:choice>
46
      <xsd:element name="default" nillable="true" type="default" />
47
      <xsd:element name="requirement" type="element" />
48
      <xsd:element name="option" type="element" />
49
      <xsd:element name="condition" type="xsd:string" />
50
    </xsd:choice>
51
  </xsd:group>
52
 
53
  <xsd:complexType name="route">
54
    <xsd:sequence>
55
      <xsd:group ref="configs" minOccurs="0" maxOccurs="unbounded" />
56
      <xsd:element name="path" type="localized-path" minOccurs="0" maxOccurs="unbounded" />
57
      <xsd:element name="host" type="localized-path" minOccurs="0" maxOccurs="unbounded" />
58
      <xsd:element name="deprecated" type="deprecated" minOccurs="0" maxOccurs="1" />
59
    </xsd:sequence>
60
    <xsd:attribute name="id" type="xsd:string" use="required" />
61
    <xsd:attribute name="path" type="xsd:string" />
62
    <xsd:attribute name="host" type="xsd:string" />
63
    <xsd:attribute name="schemes" type="xsd:string" />
64
    <xsd:attribute name="methods" type="xsd:string" />
65
    <xsd:attribute name="controller" type="xsd:string" />
66
    <xsd:attribute name="locale" type="xsd:string" />
67
    <xsd:attribute name="format" type="xsd:string" />
68
    <xsd:attribute name="utf8" type="xsd:boolean" />
69
    <xsd:attribute name="stateless" type="xsd:boolean" />
70
    <xsd:attribute name="alias" type="xsd:string" />
71
  </xsd:complexType>
72
 
73
  <xsd:complexType name="import">
74
    <xsd:sequence maxOccurs="unbounded" minOccurs="0">
75
      <xsd:group ref="configs" minOccurs="0" maxOccurs="unbounded" />
76
      <xsd:element name="prefix" type="localized-path" minOccurs="0" maxOccurs="unbounded" />
77
      <xsd:element name="exclude" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
78
      <xsd:element name="host" type="localized-path" minOccurs="0" maxOccurs="unbounded" />
79
      <xsd:element name="resource" type="resource" minOccurs="0" maxOccurs="1" />
80
    </xsd:sequence>
81
    <xsd:attribute name="resource" type="xsd:string" />
82
    <xsd:attribute name="type" type="xsd:string" />
83
    <xsd:attribute name="exclude" type="xsd:string" />
84
    <xsd:attribute name="prefix" type="xsd:string" />
85
    <xsd:attribute name="name-prefix" type="xsd:string" />
86
    <xsd:attribute name="host" type="xsd:string" />
87
    <xsd:attribute name="schemes" type="xsd:string" />
88
    <xsd:attribute name="methods" type="xsd:string" />
89
    <xsd:attribute name="controller" type="xsd:string" />
90
    <xsd:attribute name="locale" type="xsd:string" />
91
    <xsd:attribute name="format" type="xsd:string" />
92
    <xsd:attribute name="trailing-slash-on-root" type="xsd:boolean" />
93
    <xsd:attribute name="utf8" type="xsd:boolean" />
94
    <xsd:attribute name="stateless" type="xsd:boolean" />
95
  </xsd:complexType>
96
 
97
  <xsd:complexType name="resource">
98
    <xsd:attribute name="path" type="xsd:string" />
99
    <xsd:attribute name="namespace" type="xsd:string" />
100
    <xsd:anyAttribute />
101
  </xsd:complexType>
102
 
103
  <xsd:complexType name="default" mixed="true">
104
    <xsd:choice minOccurs="0" maxOccurs="1">
105
      <xsd:element name="bool" type="xsd:boolean" />
106
      <xsd:element name="int" type="xsd:integer" />
107
      <xsd:element name="float" type="xsd:float" />
108
      <xsd:element name="string" type="xsd:string" />
109
      <xsd:element name="list" type="list" />
110
      <xsd:element name="map" type="map" />
111
    </xsd:choice>
112
    <xsd:attribute name="key" type="xsd:string" use="required" />
113
  </xsd:complexType>
114
 
115
  <xsd:complexType name="element">
116
    <xsd:simpleContent>
117
      <xsd:extension base="xsd:string">
118
        <xsd:attribute name="key" type="xsd:string" use="required" />
119
      </xsd:extension>
120
    </xsd:simpleContent>
121
  </xsd:complexType>
122
 
123
  <xsd:complexType name="list">
124
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
125
      <xsd:element name="bool" nillable="true" type="xsd:boolean" />
126
      <xsd:element name="int" nillable="true" type="xsd:integer" />
127
      <xsd:element name="float" nillable="true" type="xsd:float" />
128
      <xsd:element name="string" nillable="true" type="xsd:string" />
129
      <xsd:element name="list" nillable="true" type="list" />
130
      <xsd:element name="map" nillable="true" type="map" />
131
    </xsd:choice>
132
  </xsd:complexType>
133
 
134
  <xsd:complexType name="map">
135
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
136
          <xsd:element name="bool" nillable="true" type="map-bool-entry" />
137
          <xsd:element name="int" nillable="true" type="map-int-entry" />
138
          <xsd:element name="float" nillable="true" type="map-float-entry" />
139
          <xsd:element name="string" nillable="true" type="map-string-entry" />
140
          <xsd:element name="list" nillable="true" type="map-list-entry" />
141
          <xsd:element name="map" nillable="true" type="map-map-entry" />
142
      </xsd:choice>
143
  </xsd:complexType>
144
 
145
  <xsd:complexType name="map-bool-entry">
146
    <xsd:simpleContent>
147
      <xsd:extension base="xsd:boolean">
148
        <xsd:attribute name="key" type="xsd:string" use="required" />
149
      </xsd:extension>
150
    </xsd:simpleContent>
151
  </xsd:complexType>
152
 
153
  <xsd:complexType name="map-int-entry">
154
    <xsd:simpleContent>
155
      <xsd:extension base="xsd:integer">
156
        <xsd:attribute name="key" type="xsd:string" use="required" />
157
      </xsd:extension>
158
    </xsd:simpleContent>
159
  </xsd:complexType>
160
 
161
  <xsd:complexType name="map-float-entry">
162
    <xsd:simpleContent>
163
      <xsd:extension base="xsd:float">
164
        <xsd:attribute name="key" type="xsd:string" use="required" />
165
      </xsd:extension>
166
    </xsd:simpleContent>
167
  </xsd:complexType>
168
 
169
  <xsd:complexType name="map-string-entry">
170
    <xsd:simpleContent>
171
      <xsd:extension base="xsd:string">
172
        <xsd:attribute name="key" type="xsd:string" use="required" />
173
      </xsd:extension>
174
    </xsd:simpleContent>
175
  </xsd:complexType>
176
 
177
  <xsd:complexType name="map-list-entry">
178
    <xsd:complexContent>
179
      <xsd:extension base="list">
180
        <xsd:attribute name="key" type="xsd:string" use="required" />
181
      </xsd:extension>
182
    </xsd:complexContent>
183
  </xsd:complexType>
184
 
185
  <xsd:complexType name="map-map-entry">
186
    <xsd:complexContent>
187
      <xsd:extension base="map">
188
        <xsd:attribute name="key" type="xsd:string" use="required" />
189
      </xsd:extension>
190
    </xsd:complexContent>
191
  </xsd:complexType>
192
 
193
  <xsd:complexType name="deprecated">
194
    <xsd:simpleContent>
195
      <xsd:extension base="xsd:string">
196
        <xsd:attribute name="package" type="xsd:string" use="required" />
197
        <xsd:attribute name="version" type="xsd:string" use="required" />
198
      </xsd:extension>
199
    </xsd:simpleContent>
200
  </xsd:complexType>
201
</xsd:schema>