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