Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
annotate testdata/extended-data.racex @ 223:fd51527f6d64
Re #395: Requirements can incorrectly allow based on common divisor
* Test for 3 given 6 (which would give the 1:2 ratio but not the 2:4 ratio)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 31 Mar 2012 20:17:44 +0100 |
parents | 3561878cdb66 |
children |
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> |
148
3561878cdb66
Re #346: Add requirement schema support
IBBoard <dev@ibboard.co.uk>
parents:
53
diff
changeset
|
42 <requirement requirementName="" extraAttrib="value" ext:extraAttrib="en"> |
3561878cdb66
Re #346: Add requirement schema support
IBBoard <dev@ibboard.co.uk>
parents:
53
diff
changeset
|
43 <data extraAttrib="value" ext:extraAttrib="en">req data</data> |
3561878cdb66
Re #346: Add requirement schema support
IBBoard <dev@ibboard.co.uk>
parents:
53
diff
changeset
|
44 <child></child> |
3561878cdb66
Re #346: Add requirement schema support
IBBoard <dev@ibboard.co.uk>
parents:
53
diff
changeset
|
45 <child></child> |
3561878cdb66
Re #346: Add requirement schema support
IBBoard <dev@ibboard.co.uk>
parents:
53
diff
changeset
|
46 </requirement> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
47 </requirements> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
48 <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
|
49 <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
|
50 </extraData> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
51 <contains> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
52 <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
|
53 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
54 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
55 </containedUnit> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
56 </contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
57 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
58 <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
|
59 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
60 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
61 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
62 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
63 </units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
64 <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
|
65 <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
|
66 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
67 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
68 </equipmentItem> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
69 </equipment> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
70 <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
|
71 <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
|
72 <description></description> |
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> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
75 </ability> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
76 </abilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
77 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
78 <child></child> |
39
5669f2ef6444
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
79 </race> |