Mercurial > hg > webaudioevaluationtool
diff xml/test-schema.xsd @ 2823:25027b8665a2
Implementation for #209
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 09 May 2017 14:52:00 +0100 |
parents | 394b5e20d78f |
children | 0981212c091f |
line wrap: on
line diff
--- a/xml/test-schema.xsd Tue May 09 13:21:34 2017 +0100 +++ b/xml/test-schema.xsd Tue May 09 14:52:00 2017 +0100 @@ -28,7 +28,7 @@ </xs:attribute> <xs:attribute name="minNumberPlays" type="xs:nonNegativeInteger" default="0" /> - <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" use="optional" /> + <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" /> <xs:attribute name="playOne" type="xs:boolean" default="false" /> @@ -70,8 +70,8 @@ <xs:attribute ref="preSilence" /> <xs:attribute ref="postSilence" /> <xs:attribute ref="playOne" /> - <xs:attribute ref="minNumberPlays" /> - <xs:attribute ref="maxNumberPlays" /> + <xs:attribute ref="minNumberPlays" use="optional" /> + <xs:attribute ref="maxNumberPlays" use="optional" /> </xs:complexType> </xs:element> @@ -112,8 +112,8 @@ <xs:attribute ref="postSilence" /> <xs:attribute ref="playOne" /> <xs:attribute name="restrictMovement" type="xs:boolean" default="false" use="optional" /> - <xs:attribute ref="minNumberPlays" /> - <xs:attribute ref="maxNumberPlays" /> + <xs:attribute ref="minNumberPlays" use="optional" /> + <xs:attribute ref="maxNumberPlays" use="optional" /> </xs:complexType> </xs:element> @@ -245,8 +245,8 @@ </xs:simpleType> </xs:attribute> <xs:attribute name="image" type="xs:anyURI" use="optional" /> - <xs:attribute ref="minNumberPlays" /> - <xs:attribute ref="maxNumberPlays" /> + <xs:attribute ref="minNumberPlays" use="optional" /> + <xs:attribute ref="maxNumberPlays" use="optional" /> </xs:complexType> </xs:element>