Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate testdata/extended-data.racex @ 40:7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
* Add lots of extra attributes (from non-existant schema and from existing schema but not defined in schema)
* Add category overrides
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 11 Mar 2010 21:00:24 +0000 |
parents | 5669f2ef6444 |
children | 9980a76e6a5e |
rev | line source |
---|---|
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:ext="http://ibboard.co.uk/warfoundry/missing" id="EmpireAlt" name="Empire (Extended)" system="test" extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
3 <categories extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
4 <cats:cat id="cat1" name="Cat1" extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
5 <child></child> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
6 </cats:cat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
7 </categories> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
8 <units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
9 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1" extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
10 <stats extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
11 <stat name="m" extraAttrib="value" ext:extraAttrib="en">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
12 <stat name="WS">6</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
13 <stat name="BS">6</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
14 <stat name="S">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
15 <stat name="T">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
16 <stat name="W">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
17 <stat name="I">6</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
18 <stat name="A">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
19 <stat name="Ld">9</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
20 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
21 <unitEquipment extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
22 <unitEquipmentItem id="equip1" required="true" extraAttrib="value" ext:extraAttrib="en" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
23 </unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
24 <extraData extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
25 <data id="data" extraAttrib="value" ext:extraAttrib="en"></data> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
26 </extraData> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
27 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
28 <unit id="Empire2" typeName="Swordsmen" cat="cat2" points="10"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
29 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
30 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
31 <stat name="WS">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
32 <stat name="BS">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
33 <stat name="S">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
34 <stat name="T">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
35 <stat name="W">1</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
36 <stat name="I">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
37 <stat name="A">1</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
38 <stat name="Ld">7</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
39 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
40 <unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
41 <unitEquipmentItem id="equip1" required="true" exclusivityGroup="group1" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
42 <unitEquipmentItem id="equip2"/> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
43 <unitEquipmentItem id="equip3" required="true" exclusivityGroup="group1" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
44 </unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
45 <contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
46 <containedUnit containedID="Empire3" extraAttrib="value" ext:extraAttrib="en" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
47 </contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
48 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
49 <unit id="Empire3" typeName="Swordsmen Champion" cat="cat2" points="35"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
50 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
51 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
52 <stat name="WS">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
53 <stat name="BS">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
54 <stat name="S">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
55 <stat name="T">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
56 <stat name="W">1</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
57 <stat name="I">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
58 <stat name="A">2</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
59 <stat name="Ld">7</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
60 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
61 <unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
62 <unitEquipmentItem id="equip1" required="true" exclusivityGroup="group1" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
63 <unitEquipmentItem id="equip2"/> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
64 <unitEquipmentItem id="equip3" required="true" exclusivityGroup="group1" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
65 </unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
66 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
67 <unit id="Empire4" typeName="Gunnery Specialists" cat="cat2" points="15"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
68 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
69 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
70 <stat name="WS">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
71 <stat name="BS">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
72 <stat name="S">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
73 <stat name="T">3</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
74 <stat name="W">1</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
75 <stat name="I">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
76 <stat name="A">1</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
77 <stat name="Ld">7</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
78 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
79 <unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
80 <unitEquipmentItem id="equip4" required="true" exclusivityGroup="group1" minPercentage="50" maxPercentage="100" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
81 <unitEquipmentItem id="equip1" required="true" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
82 <unitEquipmentItem id="equip5" minNum="0" maxNum="5" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
83 </unitEquipment> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
84 <contains extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
85 <containedUnit containedID="Empire3" extraAttrib="value" ext:extraAttrib="en" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
86 </contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
87 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
88 </units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
89 <equipment extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
90 <equipmentItem id="equip1" name="sword" cost="1" extraAttrib="value" ext:extraAttrib="en"/> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
91 <equipmentItem id="equip2" name="shield" cost="1"/> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
92 <equipmentItem id="equip3" name="broadsword" cost="2" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
93 <equipmentItem id="equip4" name="Standard Guns" cost="3" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
94 <equipmentItem id="equip5" name="Special Guns" cost="5" /> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
95 </equipment> |
39
5669f2ef6444
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
96 </race> |