annotate dtds/warfoundry-core.xsd @ 66:d100ca4bd0c1

Re #61 - Update classes to match schema * Add "extra data" methods to UnitType, since it may be used for requirements and we can't guarantee that the data can be fetched at the time of requirement creation no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 11 Apr 2009 14:53:45 +0000
parents d0812d7de39d
children 76d274df9f28
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" 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">
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
5 <xs:union memberTypes="xs:positiveInteger infinity"/>
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">
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
8 <xs:union memberTypes="xs:nonNegativeInteger infinity"/>
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">
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
11 <xs:restriction base="xs:integer">
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
12 <xs:minInclusive value="-1"/>
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
13 <xs:maxInclusive value="-1"/>
3664eee50390 Fixes #47 - remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
14 </xs:restriction>
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">
30
92cf25b0493b Re #32 - Migrate to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 23
diff changeset
17 <xs:restriction base="xs:double">
38
548cfc776f54 Fixes #34 - Remove "Choices" and "Base/Increment" from Category
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
18 <xs:minInclusive value="0"/>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 </xs:restriction>
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">
30
92cf25b0493b Re #32 - Migrate to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 23
diff changeset
22 <xs:restriction base="xs:double">
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <xs:minInclusive value="0"/>
38
548cfc776f54 Fixes #34 - Remove "Choices" and "Base/Increment" from Category
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
24 <xs:maxExclusive value="INF"/>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 </xs:restriction>
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">
30
92cf25b0493b Re #32 - Migrate to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 23
diff changeset
28 <xs:restriction base="xs:double">
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <xs:minInclusive value="0"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <xs:maxInclusive value="100"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 </xs:restriction>
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">
d0812d7de39d Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
34 <xs:union memberTypes="xs:nonNegativeInteger infinity ratio"/>
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">
d0812d7de39d Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
37 <xs:restriction base="xs:double">
d0812d7de39d Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
38 <xs:minInclusive value="0"/>
d0812d7de39d Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
39 <xs:maxInclusive value="1"/>
d0812d7de39d Re #49 - Resolve namespace issues
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
40 </xs:restriction>
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>