diff schemas/warfoundry-core.xsd @ 248:6abf70f31ae4

Re #152: Test and fix extensibility of current schemas * Make race and core schemas fully extensible and forward compatible
author IBBoard <dev@ibboard.co.uk>
date Sat, 13 Mar 2010 16:46:42 +0000
parents f097888efcfe
children b8b6a1c50023
line wrap: on
line diff
--- a/schemas/warfoundry-core.xsd	Thu Mar 11 20:57:49 2010 +0000
+++ b/schemas/warfoundry-core.xsd	Sat Mar 13 16:46:42 2010 +0000
@@ -4,7 +4,7 @@
 <xs:element name="extension">
 	<xs:complexType>
 		<xs:sequence>
-			<xs:any minOccurs="0" maxOccurs="unbounded" />
+			<xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
 		</xs:sequence>
 	</xs:complexType>
 </xs:element>
@@ -12,26 +12,38 @@
 	<xs:choice>
 		<xs:element name="percentageLimit">
 			<xs:complexType>
+				<xs:sequence>
+					<xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
+				</xs:sequence>
 				<xs:attribute name="limit" type="percentage" use="required"/>
 				<xs:attribute name="round" type="updowntype" default="up" />
-				<xs:anyAttribute/>
+				<xs:anyAttribute processContent="lax"/>
 			</xs:complexType>
 		</xs:element>
 		<xs:element name="sizeConstrainedLimit">
 			<xs:complexType>
+				<xs:sequence>
+					<xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
+				</xs:sequence>
 				<xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
-				<xs:anyAttribute/>
+				<xs:anyAttribute processContent="lax"/>
 			</xs:complexType>
 		</xs:element>
 		<xs:element name="absoluteLimit">
 			<xs:complexType>
+				<xs:sequence>
+					<xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
+				</xs:sequence>
 				<xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
-				<xs:anyAttribute/>
+				<xs:anyAttribute processContent="lax"/>
 			</xs:complexType>
 		</xs:element>
 		<xs:element name="unitSizeLimit">
 			<xs:complexType>
-				<xs:anyAttribute/>
+				<xs:sequence>
+					<xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
+				</xs:sequence>
+				<xs:anyAttribute processContent="lax"/>
 			</xs:complexType>
 		</xs:element>
 	</xs:choice>