diff dtds/race.xsd @ 78:f70c709dad8b

Re #82 - Add cost rounding * Change values to match ones added in ibboard:r78 * Default to rounding up to the nearest half as this is least likely to cause invalid armies no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Tue, 19 May 2009 14:27:40 +0000
parents 338f13395e64
children 0b32cc40d82f
line wrap: on
line diff
--- a/dtds/race.xsd	Tue May 19 10:58:37 2009 +0000
+++ b/dtds/race.xsd	Tue May 19 14:27:40 2009 +0000
@@ -39,7 +39,7 @@
 														<xs:attribute name="maxPercentage" type="core:percentage" default="100"/>
 														<xs:attribute name="roundDirection" type="updowntype" default="up"/>
 														<xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/>
-														<xs:attribute name="costRounding" type="costroundingtype" default="banker-half"/>
+														<xs:attribute name="costRounding" type="costroundingtype" default="UpToHalf"/>
 													</xs:complexType>
 												</xs:element>
 											</xs:sequence>
@@ -163,12 +163,12 @@
 </xs:simpleType>
 <xs:simpleType name="costroundingtype">
 	<xs:restriction base="xs:string">
-		<xs:enumeration value="up"/>
-		<xs:enumeration value="down"/>
-		<xs:enumeration value="banker"/>
-		<xs:enumeration value="up-half"/>
-		<xs:enumeration value="down-half"/>
-		<xs:enumeration value="banker-half"/>
+		<xs:enumeration value="Up"/>
+		<xs:enumeration value="Down"/>
+		<xs:enumeration value="Banker"/>
+		<xs:enumeration value="UpToHalf"/>
+		<xs:enumeration value="DownToHalf"/>
+		<xs:enumeration value="BankerToHalf"/>
 	</xs:restriction>
 </xs:simpleType>
 <xs:simpleType name="armourtype">