comparison 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
comparison
equal deleted inserted replaced
247:874c5f0906c9 248:6abf70f31ae4
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/warfoundry/core" 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/warfoundry/core"
3 xmlns="http://ibboard.co.uk/warfoundry/core" elementFormDefault="qualified"> 3 xmlns="http://ibboard.co.uk/warfoundry/core" elementFormDefault="qualified">
4 <xs:element name="extension"> 4 <xs:element name="extension">
5 <xs:complexType> 5 <xs:complexType>
6 <xs:sequence> 6 <xs:sequence>
7 <xs:any minOccurs="0" maxOccurs="unbounded" /> 7 <xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
8 </xs:sequence> 8 </xs:sequence>
9 </xs:complexType> 9 </xs:complexType>
10 </xs:element> 10 </xs:element>
11 <xs:complexType name="limit"> 11 <xs:complexType name="limit">
12 <xs:choice> 12 <xs:choice>
13 <xs:element name="percentageLimit"> 13 <xs:element name="percentageLimit">
14 <xs:complexType> 14 <xs:complexType>
15 <xs:sequence>
16 <xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
17 </xs:sequence>
15 <xs:attribute name="limit" type="percentage" use="required"/> 18 <xs:attribute name="limit" type="percentage" use="required"/>
16 <xs:attribute name="round" type="updowntype" default="up" /> 19 <xs:attribute name="round" type="updowntype" default="up" />
17 <xs:anyAttribute/> 20 <xs:anyAttribute processContent="lax"/>
18 </xs:complexType> 21 </xs:complexType>
19 </xs:element> 22 </xs:element>
20 <xs:element name="sizeConstrainedLimit"> 23 <xs:element name="sizeConstrainedLimit">
21 <xs:complexType> 24 <xs:complexType>
25 <xs:sequence>
26 <xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
27 </xs:sequence>
22 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/> 28 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
23 <xs:anyAttribute/> 29 <xs:anyAttribute processContent="lax"/>
24 </xs:complexType> 30 </xs:complexType>
25 </xs:element> 31 </xs:element>
26 <xs:element name="absoluteLimit"> 32 <xs:element name="absoluteLimit">
27 <xs:complexType> 33 <xs:complexType>
34 <xs:sequence>
35 <xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
36 </xs:sequence>
28 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/> 37 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
29 <xs:anyAttribute/> 38 <xs:anyAttribute processContent="lax"/>
30 </xs:complexType> 39 </xs:complexType>
31 </xs:element> 40 </xs:element>
32 <xs:element name="unitSizeLimit"> 41 <xs:element name="unitSizeLimit">
33 <xs:complexType> 42 <xs:complexType>
34 <xs:anyAttribute/> 43 <xs:sequence>
44 <xs:any minOccurs="0" maxOccurs="unbounded" processContent="lax"/>
45 </xs:sequence>
46 <xs:anyAttribute processContent="lax"/>
35 </xs:complexType> 47 </xs:complexType>
36 </xs:element> 48 </xs:element>
37 </xs:choice> 49 </xs:choice>
38 </xs:complexType> 50 </xs:complexType>
39 <xs:simpleType name="positiveOrInfiniteInteger"> 51 <xs:simpleType name="positiveOrInfiniteInteger">