Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate dtds/warfoundry-core.xsd @ 82:3ea0ab04352b
* Fix line terminators
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jun 2009 18:59:49 +0000 |
parents | 76d274df9f28 |
children | 863518044d38 |
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" targetNamespace="http://ibboard.co.uk/warfoundry/core" |
23
f9846f896df3
Re #32 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
3 xmlns="http://ibboard.co.uk/warfoundry/core" elementFormDefault="qualified"> |
40
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
4 <xs:simpleType name="positiveOrInfiniteInteger"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
5 <xs:union memberTypes="xs:positiveInteger infinity"/> |
40
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
6 </xs:simpleType> |
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
7 <xs:simpleType name="nonNegativeOrInfiniteInteger"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
8 <xs:union memberTypes="xs:nonNegativeInteger infinity"/> |
40
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
9 </xs:simpleType> |
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
10 <xs:simpleType name="infinity"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
11 <xs:restriction base="xs:integer"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
12 <xs:minInclusive value="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
13 <xs:maxInclusive value="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
14 </xs:restriction> |
40
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
15 </xs:simpleType> |
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
16 <xs:simpleType name="nonNegativeDouble"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
17 <xs:restriction base="xs:double"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
18 <xs:minInclusive value="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
19 </xs:restriction> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 </xs:simpleType> |
40
3664eee50390
Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
21 <xs:simpleType name="nonNegativeNonInfiniteDouble"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
22 <xs:restriction base="xs:double"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
23 <xs:minInclusive value="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
24 <xs:maxExclusive value="INF"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
25 </xs:restriction> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 </xs:simpleType> |
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 <xs:simpleType name="percentage"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
28 <xs:restriction base="xs:double"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
29 <xs:minInclusive value="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
30 <xs:maxInclusive value="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
31 </xs:restriction> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 </xs:simpleType> |
43
d0812d7de39d
Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
33 <xs:simpleType name="nonNegativeOrInfiniteIntegerOrRatio"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
34 <xs:union memberTypes="xs:nonNegativeInteger infinity ratio"/> |
43
d0812d7de39d
Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
35 </xs:simpleType> |
d0812d7de39d
Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
36 <xs:simpleType name="ratio"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
37 <xs:restriction base="xs:double"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
38 <xs:minInclusive value="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
39 <xs:maxInclusive value="1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
40 </xs:restriction> |
43
d0812d7de39d
Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
41 </xs:simpleType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 </xs:schema> |