annotate testdata/limits/absolute-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 7f9e1fef069e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
54
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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">
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <units>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 <equipmentSlots>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 <equipmentSlot name="slot">
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 <maxLimit>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 <absoluteLimit limit="5"/>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 </maxLimit>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 </equipmentSlot>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 </equipmentSlots>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 </unit>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 </units>
084049c8dff4 Re #279: Create composite limit
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 </race>