comparison schemas/race.xsd @ 263:7933d852181e

Re #289: Double-check extensibility where sets of values are allowed * Remove ArmourType and all usage as it needs rebuilding from scratch to be extensible and isn't widely used yet
author IBBoard <dev@ibboard.co.uk>
date Sat, 05 Jun 2010 12:43:28 +0000
parents 435eb28b4549
children 3f14a792fd41
comparison
equal deleted inserted replaced
262:900adf96a915 263:7933d852181e
259 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> 259 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
260 </xs:sequence> 260 </xs:sequence>
261 <xs:attribute name="id" type="xs:ID" use="required"/> 261 <xs:attribute name="id" type="xs:ID" use="required"/>
262 <xs:attribute name="name" type="xs:string" use="required"/> 262 <xs:attribute name="name" type="xs:string" use="required"/>
263 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> 263 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/>
264 <xs:attribute name="armourType" type="armourtype" default="None"/>
265 <xs:anyAttribute processContents="lax"/> 264 <xs:anyAttribute processContents="lax"/>
266 </xs:complexType> 265 </xs:complexType>
267 </xs:element> 266 </xs:element>
268 </xs:sequence> 267 </xs:sequence>
269 <xs:anyAttribute processContents="lax"/> 268 <xs:anyAttribute processContents="lax"/>
278 <xs:enumeration value="UpToHalf"/> 277 <xs:enumeration value="UpToHalf"/>
279 <xs:enumeration value="DownToHalf"/> 278 <xs:enumeration value="DownToHalf"/>
280 <xs:enumeration value="BankerToHalf"/> 279 <xs:enumeration value="BankerToHalf"/>
281 </xs:restriction> 280 </xs:restriction>
282 </xs:simpleType> 281 </xs:simpleType>
283 <xs:simpleType name="armourtype">
284 <xs:restriction base="xs:string">
285 <xs:enumeration value="None"/>
286 <xs:enumeration value="Shield"/>
287 <xs:enumeration value="LightArmour"/>
288 <xs:enumeration value="LightArmourShield"/>
289 <xs:enumeration value="HeavyArmour"/>
290 <xs:enumeration value="HeavyArmourShield"/>
291 <xs:enumeration value="Barding"/>
292 <xs:enumeration value="BardingShield"/>
293 <xs:enumeration value="BardingLightArmour"/>
294 <xs:enumeration value="BardingLightArmourShield"/>
295 <xs:enumeration value="BardingHeavyArmour"/>
296 <xs:enumeration value="BardingHeavyArmourShield"/>
297 </xs:restriction>
298 </xs:simpleType>
299 </xs:schema> 282 </xs:schema>