comparison testdata/xml-race-factory/valid-contained-unit-reference.racex @ 66:f671ead260b1

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Move some test data files to sub-folder * Test duplicate ID validation failures for equipment slots and equipment IDs * Test valid equipment references
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Jul 2010 14:28:13 +0000
parents
children
comparison
equal deleted inserted replaced
65:fa536aee66d7 66:f671ead260b1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="default">
3 <units>
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
5 <stats>
6 <stat name="M">4</stat>
7 <stat name="WS">6</stat>
8 <stat name="BS">6</stat>
9 <stat name="S">4</stat>
10 <stat name="T">4</stat>
11 <stat name="W">3</stat>
12 <stat name="I">6</stat>
13 <stat name="A">4</stat>
14 <stat name="Ld">9</stat>
15 </stats>
16 <contains>
17 <containedUnit containedID="Empire2" />
18 </contains>
19 </unit>
20 <unit id="Empire2" typeName="Minion" cat="cat1" points="0">
21 <stats>
22 <stat name="M">4</stat>
23 <stat name="WS">2</stat>
24 <stat name="BS">2</stat>
25 <stat name="S">2</stat>
26 <stat name="T">2</stat>
27 <stat name="W">1</stat>
28 <stat name="I">2</stat>
29 <stat name="A">1</stat>
30 <stat name="Ld">5</stat>
31 </stats>
32 </unit>
33 </units>
34 </race>