Mercurial > repos > IBBoard.WarFoundry.API
diff 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 |
line wrap: on
line diff
--- a/schemas/race.xsd Mon May 31 15:33:41 2010 +0000 +++ b/schemas/race.xsd Sat Jun 05 12:43:28 2010 +0000 @@ -261,7 +261,6 @@ <xs:attribute name="id" type="xs:ID" use="required"/> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> - <xs:attribute name="armourType" type="armourtype" default="None"/> <xs:anyAttribute processContents="lax"/> </xs:complexType> </xs:element> @@ -280,20 +279,4 @@ <xs:enumeration value="BankerToHalf"/> </xs:restriction> </xs:simpleType> -<xs:simpleType name="armourtype"> - <xs:restriction base="xs:string"> - <xs:enumeration value="None"/> - <xs:enumeration value="Shield"/> - <xs:enumeration value="LightArmour"/> - <xs:enumeration value="LightArmourShield"/> - <xs:enumeration value="HeavyArmour"/> - <xs:enumeration value="HeavyArmourShield"/> - <xs:enumeration value="Barding"/> - <xs:enumeration value="BardingShield"/> - <xs:enumeration value="BardingLightArmour"/> - <xs:enumeration value="BardingLightArmourShield"/> - <xs:enumeration value="BardingHeavyArmour"/> - <xs:enumeration value="BardingHeavyArmourShield"/> - </xs:restriction> -</xs:simpleType> </xs:schema> \ No newline at end of file