Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison 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 |
comparison
equal
deleted
inserted
replaced
383:8981fc45fe17 | 384:b21a85c079f5 |
---|---|
65 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> | 65 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> |
66 </xs:sequence> | 66 </xs:sequence> |
67 <xs:attribute name="id" type="xs:string" use="required" /> | 67 <xs:attribute name="id" type="xs:string" use="required" /> |
68 <xs:attribute name="subid" type="xs:string" default=""/> | 68 <xs:attribute name="subid" type="xs:string" default=""/> |
69 <xs:attribute name="name" type="xs:string" use="required"/> | 69 <xs:attribute name="name" type="xs:string" use="required"/> |
70 <xs:attribute name="defaultArmyName" type="xs:string" /> | 70 <xs:attribute name="defaultArmyName" type="xs:string" default="" /> |
71 <xs:attribute name="system" type="xs:string" use="required"/> | 71 <xs:attribute name="system" type="xs:string" use="required"/> |
72 <xs:anyAttribute processContents="lax"/> | 72 <xs:anyAttribute processContents="lax"/> |
73 </xs:complexType> | 73 </xs:complexType> |
74 <xs:keyref name="memberTypeRef" refer="memberTypeKey"> | 74 <xs:keyref name="memberTypeRef" refer="memberTypeKey"> |
75 <xs:selector xpath="race:units/race:unit/race:unitMembers/race:unitMember"/> | 75 <xs:selector xpath="race:units/race:unit/race:unitMembers/race:unitMember"/> |