Mercurial > repos > snowblizz-super-API-ideas
changeset 246:c8ea9499eb15
Re #152: Test and fix extensibility of current schemas
* Move (optional) categories overrides before unit list so that ordering makes a bit more sense
* Make anyAttribute in Categories schema do lax processing
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 11 Mar 2010 20:53:06 +0000 |
parents | bbd86698240a |
children | 874c5f0906c9 |
files | schemas/race.xsd schemas/warfoundry-cats.xsd |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/schemas/race.xsd Sat Mar 06 16:01:42 2010 +0000 +++ b/schemas/race.xsd Thu Mar 11 20:53:06 2010 +0000 @@ -4,6 +4,7 @@ <xs:element name="race"> <xs:complexType> <xs:sequence> + <xs:element name="categories" type="cats:categoriestype" minOccurs="0" /> <xs:element name="units"> <xs:complexType> <xs:sequence> @@ -11,7 +12,6 @@ </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="categories" type="cats:categoriestype" minOccurs="0" /> <xs:element name="equipment" minOccurs="0" type="equipment"> </xs:element> <xs:element name="abilities" minOccurs="0">
--- a/schemas/warfoundry-cats.xsd Sat Mar 06 16:01:42 2010 +0000 +++ b/schemas/warfoundry-cats.xsd Thu Mar 11 20:53:06 2010 +0000 @@ -11,10 +11,10 @@ <xs:attribute name="maxPoints" type="core:nonNegativeOrInfiniteInteger" default="-1"/> <xs:attribute name="minPercentage" type="core:percentage" default="0"/> <xs:attribute name="maxPercentage" type="core:percentage" default="100"/> - <xs:anyAttribute/> + <xs:anyAttribute processContents="lax"/> </xs:complexType> </xs:element> </xs:sequence> - <xs:anyAttribute/> + <xs:anyAttribute processContents="lax"/> </xs:complexType> </xs:schema> \ No newline at end of file