Mercurial > repos > snowblizz-super-API-ideas
view dtds/system.dtd @ 30:92cf25b0493b
Re #32 - Migrate to using Schemas
* Replace decimal with double to try to get around type cast issues
* Correct schema to use minNum and maxNum instead of min/maxNumber for attributes
* Use new FileLoadFailure parameters to better log errors while loading files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Mar 2009 20:16:09 +0000 |
parents | 163b35f875ef |
children |
line wrap: on
line source
<!ELEMENT system (categories,sysStatsList)> <!ELEMENT categories (cat+)> <!ELEMENT cat EMPTY> <!ELEMENT sysStatsList (sysStats+)> <!ELEMENT sysStats (sysStat+)> <!ELEMENT sysStat EMPTY> <!ATTLIST system id ID #REQUIRED> <!ATTLIST system name CDATA #REQUIRED> <!ATTLIST system warn (true|false) "false"> <!ATTLIST system allowAllies (true|false) "true"> <!ATTLIST system isRosterBased (true|false) "false"> <!ATTLIST cat id ID #REQUIRED> <!ATTLIST cat name CDATA #REQUIRED> <!ATTLIST cat minPoints CDATA "0"> <!ATTLIST cat maxPoints CDATA "-1"> <!ATTLIST cat minPercentage CDATA "0"> <!ATTLIST cat maxPercentage CDATA "100"> <!ATTLIST cat minChoices CDATA "0"> <!ATTLIST cat maxChoices CDATA "-1"> <!ATTLIST cat baseValue CDATA "0"> <!ATTLIST cat incValue CDATA "0"> <!ATTLIST cat incAmount CDATA "0"> <!ATTLIST sysStatsList defaultStats CDATA #REQUIRED> <!ATTLIST sysStats id ID #REQUIRED> <!ATTLIST sysStat name CDATA #REQUIRED>