annotate dtds/race.dtd @ 28:e5ea6bfcde83

Re #44 - Fix tests * Make spec of method more explicit
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2009 19:18:43 +0000
parents 163b35f875ef
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <!ELEMENT race (units,categories?,equipment?, abilities?)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <!ELEMENT categories (cat+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <!ELEMENT cat EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <!ELEMENT units (unit+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 <!ELEMENT unit (unitCats,stats,unitEquipment,requires?,exclusiveOf?,champions?,specialItems?,attachable?,additionalMembers?)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 <!ELEMENT unitCats (unitCat+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 <!ELEMENT unitCat EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 <!ELEMENT stats (stat+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <!ELEMENT stat (#PCDATA)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <!ELEMENT unitEquipment (unitEquipmentItem*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <!ELEMENT unitEquipmentItem EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <!ELEMENT requires (required+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <!ELEMENT required EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 <!ELEMENT exclusiveOf (exclusive+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <!ELEMENT exclusive EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <!ELEMENT champions (champion+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <!ELEMENT champion EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <!ELEMENT specialItems (specialItem+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <!ELEMENT specialItem EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <!ELEMENT attachable (attachableUnit+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <!ELEMENT attachableUnit EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 <!ELEMENT additionalMembers (additionalMember+)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <!ELEMENT additionalMember EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 <!ELEMENT equipment (equipmentItem*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 <!ELEMENT equipmentItem (stats?)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 <!ELEMENT abilities (ability?)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <!ELEMENT ability (description,requirements)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <!ELEMENT description (#PCDATA)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <!ELEMENT requirements (requirement*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <!ELEMENT requirement (#PCDATA)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 <!ATTLIST race id ID #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <!ATTLIST race subid CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <!ATTLIST race system CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 <!ATTLIST race name CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 <!ATTLIST cat id ID #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <!ATTLIST cat name CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 <!ATTLIST cat minimum CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 <!ATTLIST cat maximum CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 <!ATTLIST cat baseValue CDATA #IMPLIED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 <!ATTLIST cat incValue CDATA #IMPLIED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 <!ATTLIST cat incAmount CDATA #IMPLIED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <!ATTLIST unit id ID #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 <!ATTLIST unit typeName CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 <!ATTLIST unit cat CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 <!ATTLIST unit unitPoints CDATA "0">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 <!ATTLIST unit points CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <!ATTLIST unit race CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <!ATTLIST unit minNum CDATA "0">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 <!ATTLIST unit maxNum CDATA "-1">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 <!ATTLIST unit minSize CDATA "5">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 <!ATTLIST unit maxSize CDATA "-1">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 <!ATTLIST unit baseSize CDATA "0">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 <!ATTLIST unitCat catID CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 <!ATTLIST unitCat catCost CDATA "1">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 <!ATTLIST stats statSet CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 <!ATTLIST stat name CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 <!ATTLIST unitEquipmentItem id CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 <!ATTLIST unitEquipmentItem required (true|false) "false">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 <!ATTLIST unitEquipmentItem exclusivityGroup CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 <!ATTLIST unitEquipmentItem roundDirection (up|down) "up">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 <!ATTLIST equipmentItem id ID #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 <!ATTLIST equipmentItem name CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 <!ATTLIST equipmentItem cost CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 <!ATTLIST equipmentItem min CDATA "-1">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 <!ATTLIST equipmentItem max CDATA "-1">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 <!ATTLIST equipmentItem armourType (None|Shield|LightArmour|LightArmourShield|HeavyArmour|HeavyArmourShield|Barding|BardingShield|BardingLightArmour|BardingLightArmourShield|BardingHeavyArmour|BardingHeavyArmourShield) "None">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 <!ATTLIST ability id ID #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 <!ATTLIST ability name CDATA #REQUIRED>