Mercurial > hg > webaudioevaluationtool
diff xml/test-schema.xsd @ 2774:2fc62a50d593
#145. Added minWait to all <surveyx> elements. Specify the amount of time to wait in seconds.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 21 Apr 2017 14:03:51 +0100 |
parents | 4c76b5e8874b |
children | 72604c3a3ed9 |
line wrap: on
line diff
--- a/xml/test-schema.xsd Fri Apr 21 13:44:21 2017 +0100 +++ b/xml/test-schema.xsd Fri Apr 21 14:03:51 2017 +0100 @@ -28,6 +28,8 @@ </xs:attribute> <xs:attribute name="playOne" type="xs:boolean" default="false" /> + + <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> <!-- define complex elements--> <xs:element name="waet"> @@ -332,6 +334,7 @@ <xs:attribute ref="id" use="required" /> <xs:attribute ref="name" /> <xs:attribute ref="mandatory" /> + <xs:attribute ref="minWait" /> <xs:attribute name="boxsize" default="normal"> <xs:simpleType> <xs:restriction base="xs:string"> @@ -365,6 +368,7 @@ <xs:attribute ref="mandatory" /> <xs:attribute name="min" type="xs:decimal" /> <xs:attribute name="max" type="xs:decimal" /> + <xs:attribute ref="minWait" /> </xs:complexType> </xs:element> @@ -386,6 +390,7 @@ <xs:attribute ref="id" use="required" /> <xs:attribute ref="name" /> <xs:attribute ref="mandatory" /> + <xs:attribute ref="minWait" /> <xs:attribute name="min" type="xs:decimal" /> <xs:attribute name="max" type="xs:decimal" /> </xs:complexType> @@ -409,6 +414,7 @@ <xs:attribute ref="id" use="required" /> <xs:attribute ref="name" /> <xs:attribute ref="mandatory" /> + <xs:attribute ref="minWait" /> <xs:attribute name="min" type="xs:decimal" /> <xs:attribute name="max" type="xs:decimal" /> </xs:complexType> @@ -424,6 +430,7 @@ </xs:sequence> <xs:attribute ref="id" use="required" /> <xs:attribute ref="name" /> + <xs:attribute ref="minWait" /> <xs:attribute name="min" use="required" type="xs:decimal" /> <xs:attribute name="max" use="required" type="xs:decimal" /> </xs:complexType> @@ -435,6 +442,7 @@ <xs:element ref="statement" minOccurs="1" maxOccurs="1" /> </xs:sequence> <xs:attribute ref="id" use="required" /> + <xs:attribute ref="minWait" /> <xs:attribute name="url" use="required" type="xs:string" /> </xs:complexType> </xs:element> @@ -445,6 +453,7 @@ <xs:element ref="statement" minOccurs="1" maxOccurs="1" /> </xs:sequence> <xs:attribute ref="id" use="required" /> + <xs:attribute ref="minWait" /> <xs:attribute name="url" use="required" type="xs:string" /> </xs:complexType> </xs:element>