Permalink
Browse files

[2.0] DDC-195 - Updated XSD Schema

  • Loading branch information...
beberlei
beberlei committed Feb 26, 2010
1 parent 35d795b commit 457d832f529af7ef5ca322820d597efa6825d008
Showing with 8 additions and 1 deletion.
  1. +8 −1 doctrine-mapping.xsd
View
@@ -218,9 +218,16 @@
<xs:complexType name="order-by-field">
<xs:attribute name="field" type="XS:NMTOKEN" use="required" />
- <xs:attribute name="direction" type="XS:NMTOKEN" default="ASC" />
+ <xs:attribute name="direction" type="orm:order-by-direction" default="ASC" />
</xs:complexType>
+ <xs:simpleType name="order-by-direction">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="ASC"/>
+ <xs:enumeration value="DESC"/>
+ </xs:restriction>
+ </xs:simpleType>
+
<xs:complexType name="many-to-many">
<xs:sequence>
<xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />

0 comments on commit 457d832

Please sign in to comment.