Mercurial > repos > IBBoard.WarFoundry.API
changeset 369:c2bc207a1571
Re #346: Add core schema support for requirements
* Allow extra attributes
* Remove unnecessary attribute (copy and paste error)
* Be explicit about min count
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 28 May 2011 16:02:36 +0000 |
parents | 8cfb1818823d |
children | 077e9be48438 |
files | schemas/race.xsd |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/schemas/race.xsd Sat May 28 15:57:10 2011 +0000 +++ b/schemas/race.xsd Sat May 28 16:02:36 2011 +0000 @@ -174,16 +174,16 @@ <xs:element name="requirement"> <xs:complexType> <xs:sequence> - <xs:element name="data" maxOccurs="1"> + <xs:element name="data" minOccurs="0" maxOccurs="1"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> - <xs:attribute name="id" type="xs:string" use="required"/> <xs:anyAttribute processContents="lax"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> </xs:sequence> <xs:attribute name="requirementName" type="xs:string" use="required"/> <xs:anyAttribute processContents="lax"/>