annotate dtds/system.xsd @ 211:1f39e325deee

Fixes #219: Units can only have one contained type * Commit Snowblizz's schema fix that makes the contained unit type list "unbounded"
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Nov 2009 11:50:48 +0000
parents c1caf467dd40
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
160
41b927998a41 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 159
diff changeset
7 <xs:element name="categories" type="cats:categoriestype"/>
41b927998a41 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 159
diff changeset
8 <xs:element name="sysStatsList">
74
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>
160
41b927998a41 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 159
diff changeset
11 <xs:element name="sysStats" maxOccurs="unbounded">
74
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>
160
41b927998a41 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 159
diff changeset
14 <xs:element name="sysStat" maxOccurs="unbounded">
74
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"/>
159
7b98e71b8511 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
17 <xs:anyAttribute/>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
18 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
19 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
20 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
21 <xs:attribute name="id" type="xs:ID" />
159
7b98e71b8511 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
22 <xs:anyAttribute/>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
23 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
24 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
25 </xs:sequence>
179
c1caf467dd40 Re #193: Unhandled exception in dictionary?
IBBoard <dev@ibboard.co.uk>
parents: 160
diff changeset
26 <xs:attribute name="defaultStats" type="xs:IDREF" use="required" />
159
7b98e71b8511 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
27 <xs:anyAttribute/>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
28 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
29 </xs:element>
160
41b927998a41 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 159
diff changeset
30 <xs:element ref="core:extension" minOccurs="0" />
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
31 </xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
32 <xs:attribute name="id" type="xs:ID" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
33 <xs:attribute name="name" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
34 <xs:attribute name="warn" type="xs:boolean" default="false"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
35 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
159
7b98e71b8511 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
36 <xs:anyAttribute/>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
37 </xs:complexType>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 </xs:element>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 </xs:schema>