Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison schemas/system.xsd @ 244:9e4a78464b1a
Re #152: Test and fix extensibility of current schemas
* Make xs:anyAttribute and xs:any do lax parsing so that we don't get schema errors
* Move Army schema away from core:extension to straight xs:any
Needs more testing
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 28 Feb 2010 21:09:45 +0000 |
parents | 7c14537d4a23 |
children | 2f8fd45d55e2 |
comparison
equal
deleted
inserted
replaced
243:b8883707c489 | 244:9e4a78464b1a |
---|---|
12 <xs:complexType> | 12 <xs:complexType> |
13 <xs:sequence> | 13 <xs:sequence> |
14 <xs:element name="sysStat" maxOccurs="unbounded"> | 14 <xs:element name="sysStat" maxOccurs="unbounded"> |
15 <xs:complexType> | 15 <xs:complexType> |
16 <xs:attribute name="name" type="xs:string" use="required"/> | 16 <xs:attribute name="name" type="xs:string" use="required"/> |
17 <xs:anyAttribute/> | 17 <xs:anyAttribute processContents="lax"/> |
18 </xs:complexType> | 18 </xs:complexType> |
19 </xs:element> | 19 </xs:element> |
20 </xs:sequence> | 20 </xs:sequence> |
21 <xs:attribute name="id" type="xs:ID" /> | 21 <xs:attribute name="id" type="xs:ID" /> |
22 <xs:anyAttribute/> | 22 <xs:anyAttribute processContents="lax"/> |
23 </xs:complexType> | 23 </xs:complexType> |
24 </xs:element> | 24 </xs:element> |
25 </xs:sequence> | 25 </xs:sequence> |
26 <xs:attribute name="defaultStats" type="xs:IDREF" use="required" /> | 26 <xs:attribute name="defaultStats" type="xs:IDREF" use="required" /> |
27 <xs:anyAttribute/> | 27 <xs:anyAttribute processContents="lax"/> |
28 </xs:complexType> | 28 </xs:complexType> |
29 </xs:element> | 29 </xs:element> |
30 <xs:any minOccurs="0" maxOccurs="unbounded"/> | 30 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> |
31 </xs:sequence> | 31 </xs:sequence> |
32 <xs:attribute name="id" type="xs:ID" /> | 32 <xs:attribute name="id" type="xs:ID" /> |
33 <xs:attribute name="name" type="xs:string" use="required"/> | 33 <xs:attribute name="name" type="xs:string" use="required"/> |
34 <xs:attribute name="warn" type="xs:boolean" default="false"/> | 34 <xs:attribute name="warn" type="xs:boolean" default="false"/> |
35 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> | 35 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> |
36 <xs:anyAttribute/> | 36 <xs:anyAttribute processContents="lax"/> |
37 </xs:complexType> | 37 </xs:complexType> |
38 </xs:element> | 38 </xs:element> |
39 </xs:schema> | 39 </xs:schema> |