Mercurial > repos > IBBoard.WarFoundry.API
comparison dtds/race.xsd @ 44:db951aad24b9
Re #50 - Complete loading of WarFoundry XML
* Fix loading of armour type by fixing typo in Race schema
* Revert to an exception if there is a parse error on the armour type (since the schema should validate it)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Mar 2009 17:10:49 +0000 |
parents | d0812d7de39d |
children | 3a90f70dac73 |
comparison
equal
deleted
inserted
replaced
43:d0812d7de39d | 44:db951aad24b9 |
---|---|
125 <xs:element name="description" type="xs:string" minOccurs="0" /> | 125 <xs:element name="description" type="xs:string" minOccurs="0" /> |
126 </xs:all> | 126 </xs:all> |
127 <xs:attribute name="id" type="xs:ID" use="required"/> | 127 <xs:attribute name="id" type="xs:ID" use="required"/> |
128 <xs:attribute name="name" type="xs:string" use="required"/> | 128 <xs:attribute name="name" type="xs:string" use="required"/> |
129 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> | 129 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
130 <xs:attribute name="armoutType" type="armourtype" default="None"/> | 130 <xs:attribute name="armourType" type="armourtype" default="None"/> |
131 </xs:complexType> | 131 </xs:complexType> |
132 <xs:simpleType name="armourtype"> | 132 <xs:simpleType name="armourtype"> |
133 <xs:restriction base="xs:string"> | 133 <xs:restriction base="xs:string"> |
134 <xs:enumeration value="None"/> | 134 <xs:enumeration value="None"/> |
135 <xs:enumeration value="Shield"/> | 135 <xs:enumeration value="Shield"/> |