Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate testdata/xml-race-factory/duplicate-category-ids.racex @ 203:2b27447ae74e
Re #352: Test/fix cyclic references in unit types
* Add test case
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Jan 2012 21:01:02 +0000 |
parents | d1d79adcb11d |
children |
rev | line source |
---|---|
72
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="default"> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <categories> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" /> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <cats:cat id="cat1" name="Regiments" minPercentage="25" maxPercentage="100" /> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" /> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 <cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" /> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 <cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" /> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 </categories> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <units> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <stats> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 <stat name="M">4</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 <stat name="WS">6</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <stat name="BS">6</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 <stat name="S">4</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 <stat name="T">4</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 <stat name="W">3</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 <stat name="I">6</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 <stat name="A">4</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 <stat name="Ld">9</stat> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 </stats> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 </unit> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 </units> |
d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 </race> |