view testdata/extended-data.armyx @ 58:c642d217036e

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Simplify "non-existant ability" unit test by removing SystemX file * Remove line number checks, since Mono exception line numbers are end of file when the exception is a missing key ** * Re-implement equipment slot check test ** previous line numbers were taken from errors saying that keyref's key definition couldn't be found, not an error saying that the keyref value didn't exist
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 Jun 2010 20:40:18 +0000
parents d4f6e9ac981e
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<army xmlns="http://ibboard.co.uk/warfoundry/army" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:ext="http://ibboard.co.uk/warfoundry/missing" id="army" name="" system="" race="" maxPoints="100" extraAttrib="value" ext:extraAttrib="en">
	<units extraAttrib="value" ext:extraAttrib="en">
		<unit id="unit1" unitType="swordsmen" unitName="Swordsment" size="10" extraAttrib="value" ext:extraAttrib="en">
			<equipment extraAttrib="value" ext:extraAttrib="en">
				<equipItem id="sword" amount="1" extraAttrib="value" ext:extraAttrib="en">
					<child></child>
					<child></child>
				</equipItem>
			</equipment>
			<contains>
				<containedUnit containedID="unit1" extraAttrib="value" ext:extraAttrib="en">
					<child></child>
					<child></child>
				</containedUnit>
			</contains>
			<child></child>
			<child></child>
		</unit>
	</units>
	<customEquipment extraAttrib="value" ext:extraAttrib="en">
		<customEquip id="custEquip" extraAttrib="value" ext:extraAttrib="en">
			<customEquipPart partIDRef="" extraAttrib="value" ext:extraAttrib="en">
				<child></child>
				<child></child>
			</customEquipPart>
		</customEquip>
	</customEquipment>
</army>