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 diff
     1.1 --- a/schemas/race.xsd	Sat May 28 15:57:10 2011 +0000
     1.2 +++ b/schemas/race.xsd	Sat May 28 16:02:36 2011 +0000
     1.3 @@ -174,16 +174,16 @@
     1.4  					<xs:element name="requirement">
     1.5  						<xs:complexType>
     1.6  							<xs:sequence>
     1.7 -								<xs:element name="data" maxOccurs="1">
     1.8 +								<xs:element name="data" minOccurs="0" maxOccurs="1">
     1.9  									<xs:complexType>
    1.10  										<xs:simpleContent>
    1.11  											<xs:extension base="xs:string">
    1.12 -												<xs:attribute name="id" type="xs:string" use="required"/>
    1.13  												<xs:anyAttribute processContents="lax"/>
    1.14  											</xs:extension>
    1.15  										</xs:simpleContent>
    1.16  									</xs:complexType>
    1.17  								</xs:element>
    1.18 +								<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
    1.19  							</xs:sequence>
    1.20  							<xs:attribute name="requirementName" type="xs:string" use="required"/>
    1.21  							<xs:anyAttribute processContents="lax"/>