comparison testdata/limits/composite-limit.xml @ 54:084049c8dff4

Re #279: Create composite limit * Add first tests for limit parser - composites are parsed, but children aren't picked up by XPath query yet
author IBBoard <dev@ibboard.co.uk>
date Sat, 05 Jun 2010 15:37:03 +0000
parents
children
comparison
equal deleted inserted replaced
53:f6bbd77b5473 54:084049c8dff4
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="EmpireAlt" name="Empire (Extended)" system="default" lang="en">
3 <units>
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
5 <equipmentSlots>
6 <equipmentSlot name="slot">
7 <maxLimit>
8 <compositeMaxLimit>
9 <sizeConstrainedLimit limit="10"/>
10 <absoluteLimit limit="5"/>
11 </compositeMaxLimit>
12 </maxLimit>
13 </equipmentSlot>
14 </equipmentSlots>
15 </unit>
16 </units>
17 </race>