Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate dtds/system.xsd @ 146:0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
* Add extensibility to Race schema
Also:
* Code tidy for WarFoundryXmlFactoryUtils
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 23 Sep 2009 19:58:21 +0000 |
parents | 76d274df9f28 |
children | 7b98e71b8511 |
rev | line source |
---|---|
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" |
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified"> |
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <xs:element name="system"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
5 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
6 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
7 <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
8 <xs:element name="sysStatsList" minOccurs="1"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
9 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
10 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
11 <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
12 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
13 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
14 <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
15 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
16 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
17 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
18 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
19 </xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
20 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
21 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
22 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
23 </xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
24 <xs:attribute name="defaultStats" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
25 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
26 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
27 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
28 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
29 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
30 <xs:attribute name="warn" type="xs:boolean" default="false"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
31 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
72
diff
changeset
|
32 </xs:complexType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 </xs:element> |
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 </xs:schema> |