Mercurial > repos > IBDev-IBBoard.WarFoundry.API
changeset 165:71e50c0884a2
Fixes #194: Make unit equipment optional
* Make unitEquipment tag optional (old schema could get us in to a situation where the race didn't define equipment but the unit had to reference something!)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 06 Oct 2009 10:37:08 +0000 |
parents | 91f7b8da0b53 |
children | 6902f49e16e0 |
files | dtds/race.xsd |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dtds/race.xsd Sun Oct 04 19:30:42 2009 +0000 +++ b/dtds/race.xsd Tue Oct 06 10:37:08 2009 +0000 @@ -28,7 +28,7 @@ <xs:anyAttribute/> </xs:complexType> </xs:element> - <xs:element name="unitEquipment"> + <xs:element name="unitEquipment" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="unitEquipmentItem" maxOccurs="unbounded">