Mercurial > repos > IBBoard.WarFoundry.API
diff schemas/system.xsd @ 310:f7c3c1b39726
Re #99: Define "points" values in GameSystem
* Inline some local variables for readability
* Define defaults in schema
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 20 Feb 2011 20:36:48 +0000 |
parents | 4219d79f262f |
children | 376da2b24de1 |
line wrap: on
line diff
--- a/schemas/system.xsd Sun Feb 20 16:00:11 2011 +0000 +++ b/schemas/system.xsd Sun Feb 20 20:36:48 2011 +0000 @@ -40,10 +40,10 @@ <xs:attribute name="id" type="xs:string" /> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="defaultArmySize" type="core:nonNegativeNonInfiniteDouble" default="0"/> - <xs:attribute name="defaultPtsAbbreviationSingular" type="xs:string" default=""/> - <xs:attribute name="defaultPtsAbbreviationPlural" type="xs:string" default=""/> - <xs:attribute name="defaultPtsNameSingular" type="xs:string" default=""/> - <xs:attribute name="defaultPtsNamePlural" type="xs:string" default=""/> + <xs:attribute name="defaultPtsAbbreviationSingular" type="xs:string" default="pt"/> + <xs:attribute name="defaultPtsAbbreviationPlural" type="xs:string" default="pts"/> + <xs:attribute name="defaultPtsNameSingular" type="xs:string" default="point"/> + <xs:attribute name="defaultPtsNamePlural" type="xs:string" default="points"/> <xs:attribute name="warn" type="xs:boolean" default="false"/> <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> <xs:anyAttribute processContents="lax"/>