[Routing] simplify the XML schema file

Conditions that are defined for certain routes are just simple strings.
Thus, there is no need to use a dedicated element when xsd:string does
the same.
This commit is contained in:
Christian Flothmann 2014-07-26 12:08:20 +02:00
parent dde854d96a
commit dbac46a9ae
1 changed files with 1 additions and 6 deletions

View File

@ -29,7 +29,7 @@
<xsd:element name="default" nillable="true" type="element" />
<xsd:element name="requirement" type="element" />
<xsd:element name="option" type="element" />
<xsd:element name="condition" type="condition" />
<xsd:element name="condition" type="xsd:string" />
</xsd:choice>
</xsd:group>
@ -62,9 +62,4 @@
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="condition">
<xsd:restriction base="xsd:string">
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>