diff schemas/race.xsd @ 384:b21a85c079f5 default-army-name

Re #153: Default name for armies * Add explicit default value in schema * Swap adding of extra constructor parameter (which wasn't stored at any point) to using property * Clean up line endings
author IBBoard <dev@ibboard.co.uk>
date Tue, 07 Sep 2010 20:02:44 +0000
parents 8981fc45fe17
children 376da2b24de1
line wrap: on
line diff
--- a/schemas/race.xsd	Tue Sep 07 11:53:22 2010 +0000
+++ b/schemas/race.xsd	Tue Sep 07 20:02:44 2010 +0000
@@ -67,7 +67,7 @@
 		<xs:attribute name="id" type="xs:string" use="required" />
 		<xs:attribute name="subid" type="xs:string" default=""/>
 		<xs:attribute name="name" type="xs:string" use="required"/>
-    <xs:attribute name="defaultArmyName" type="xs:string" />
+		<xs:attribute name="defaultArmyName" type="xs:string" default="" />
 		<xs:attribute name="system" type="xs:string" use="required"/>
 		<xs:anyAttribute processContents="lax"/>
 	</xs:complexType>