Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate testdata/extended-data.racex @ 53:f6bbd77b5473
Re #289: Double-check extensibility where sets of values are allowed
* Add extra elements to sample racex file
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 05 Jun 2010 14:45:28 +0000 |
parents | d4f6e9ac981e |
children | 3561878cdb66 |
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"?> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" 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"> |
40
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> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
6 <child></child> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
7 </cats:cat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
8 </categories> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
9 <units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
10 <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
|
11 <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
|
12 <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
|
13 </stats> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
14 <equipmentSlots> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
15 <equipmentSlot name="bob" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
16 <maxLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
17 <core:unitSizeLimit extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
18 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
19 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
20 </core:unitSizeLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
21 </maxLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
22 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
23 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
24 </equipmentSlot> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
25 </equipmentSlots> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
26 <unitEquipment extraAttrib="value" ext:extraAttrib="en"> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
27 <unitEquipmentItem id="equip1" required="true" extraAttrib="value" ext:extraAttrib="en"> |
53
f6bbd77b5473
Re #289: Double-check extensibility where sets of values are allowed
IBBoard <dev@ibboard.co.uk>
parents:
42
diff
changeset
|
28 <minLimit extraAttrib="value" ext:extraAttrib="en"> |
f6bbd77b5473
Re #289: Double-check extensibility where sets of values are allowed
IBBoard <dev@ibboard.co.uk>
parents:
42
diff
changeset
|
29 <someArbitraryLimitType/> |
f6bbd77b5473
Re #289: Double-check extensibility where sets of values are allowed
IBBoard <dev@ibboard.co.uk>
parents:
42
diff
changeset
|
30 </minLimit> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
31 <child></child> |
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
32 <child></child> |
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
33 </unitEquipmentItem> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
34 </unitEquipment> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
35 <unitAbilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
36 <unitAbility abilityID="a" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
37 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
38 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
39 </unitAbility> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
40 </unitAbilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
41 <requirements> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
42 <requirement requirementName="" extraAttrib="value" ext:extraAttrib="en">req data</requirement> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
43 </requirements> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
44 <extraData extraAttrib="value" ext:extraAttrib="en"> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
45 <data id="data" extraAttrib="value" ext:extraAttrib="en">data value</data> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
46 </extraData> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
47 <contains> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
48 <containedUnit containedID="Empire3" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
49 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
50 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
51 </containedUnit> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
52 </contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
53 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
54 <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
|
55 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
56 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
57 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
58 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
59 </units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
60 <equipment extraAttrib="value" ext:extraAttrib="en"> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
61 <equipmentItem id="equip1" name="sword" cost="1" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
62 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
63 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
64 </equipmentItem> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
65 </equipment> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
66 <abilities extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
67 <ability id="a" name="Ability 1" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
68 <description></description> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
69 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
70 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
71 </ability> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
72 </abilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
73 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
74 <child></child> |
39
5669f2ef6444
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
75 </race> |