diff dtds/race.xsd @ 24:72312a7ac08a

Re #32 - Migrate WarFoundry files to using Schemas * Add namespace for Core to Cats schema * Remove duplicate "equipmentitem" definitions from Race schema * Correct namespace on nonNegativeInteger and positiveInteger
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2009 15:57:29 +0000
parents f9846f896df3
children 92cf25b0493b
line wrap: on
line diff
--- a/dtds/race.xsd	Thu Mar 12 21:35:17 2009 +0000
+++ b/dtds/race.xsd	Sat Mar 14 15:57:29 2009 +0000
@@ -35,9 +35,9 @@
   <xs:attribute name="cat" type="xs:string" use="required"/>
   <xs:attribute name="unitPoints" type="core:nonNegativeDecimal" default="0"/>
   <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
-  <xs:attribute name="minNumber" type="core:nonNegativeInteger" default="0"/>
+  <xs:attribute name="minNumber" type="xs:nonNegativeInteger" default="0"/>
   <xs:attribute name="maxNumber" type="core:infiniteOrNonNegativeInteger" default="-1"/>
-  <xs:attribute name="minSize" type="core:positiveInteger" default="5"/>
+  <xs:attribute name="minSize" type="xs:positiveInteger" default="5"/>
   <xs:attribute name="maxSize" type="core:infiniteOrNonNegativeInteger" default="-1"/>
   <xs:attribute name="baseSize" type="xs:nonNegativeInteger" default="0"/>
 </xs:complexType>
@@ -127,19 +127,6 @@
   <xs:attribute name="id" type="xs:ID" use="required"/>
   <xs:attribute name="name" type="xs:string" use="required"/>
   <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
-</xs:complexType>
-<xs:complexType name="equipmenttype">
-  <xs:sequence>
-    <xs:element name="equipmentItem" type="equipmentitemtype"/>
-  </xs:sequence>
-</xs:complexType>
-<xs:complexType name="equipmentitemtype">
-  <xs:all>
-    <xs:element name="description" type="xs:string" />
-  </xs:all>
-  <xs:attribute name="id" type="xs:ID" use="required"/>
-  <xs:attribute name="name" type="xs:string" use="required"/>
-  <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
   <xs:attribute name="armoutType" type="armourtype" default="none"/>
 </xs:complexType>
 <xs:simpleType name="armourtype">