Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
comparison testdata/single-unit-with-invalid-equipment-reference.racex @ 47:b4b4bde843d7
Re #274: crash when missing unitMember id
* Tests and test data for unit member crash. Schema should be able to validate using key/keyref, but can't get it working at the moment.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 18 May 2010 18:40:27 +0000 |
parents | |
children | 6efa080b500f |
comparison
equal
deleted
inserted
replaced
46:73308371f9d8 | 47:b4b4bde843d7 |
---|---|
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="nonexistant"> | |
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 <equipmentSlots> | |
17 <equipmentSlot name="slot1"/> | |
18 </equipmentSlots> | |
19 <unitEquipment> | |
20 <unitEquipmentItem id="equip1" equipmentSlot="slot2"/> | |
21 </unitEquipment> | |
22 </unit> | |
23 </units> | |
24 <equipment> | |
25 <equipmentItem id="equip1" name="sword" cost="1"/> | |
26 </equipment> | |
27 </race> |