Mercurial > hg > webaudioevaluationtool
comparison xml/test-schema.xsd @ 2822:394b5e20d78f
#209. Added minNumberPlays and maxNumberPlays to specifications
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 09 May 2017 13:21:34 +0100 |
parents | a41a299223ab |
children | 25027b8665a2 |
comparison
equal
deleted
inserted
replaced
2820:058f270e6d4d | 2822:394b5e20d78f |
---|---|
25 <xs:minInclusive value="0.0" /> | 25 <xs:minInclusive value="0.0" /> |
26 </xs:restriction> | 26 </xs:restriction> |
27 </xs:simpleType> | 27 </xs:simpleType> |
28 </xs:attribute> | 28 </xs:attribute> |
29 | 29 |
30 <xs:attribute name="minNumberPlays" type="xs:nonNegativeInteger" default="0" /> | |
31 <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" use="optional" /> | |
32 | |
30 <xs:attribute name="playOne" type="xs:boolean" default="false" /> | 33 <xs:attribute name="playOne" type="xs:boolean" default="false" /> |
31 | 34 |
32 <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> | 35 <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> |
33 | 36 |
34 <!-- define complex elements--> | 37 <!-- define complex elements--> |
65 </xs:simpleType> | 68 </xs:simpleType> |
66 </xs:attribute> | 69 </xs:attribute> |
67 <xs:attribute ref="preSilence" /> | 70 <xs:attribute ref="preSilence" /> |
68 <xs:attribute ref="postSilence" /> | 71 <xs:attribute ref="postSilence" /> |
69 <xs:attribute ref="playOne" /> | 72 <xs:attribute ref="playOne" /> |
73 <xs:attribute ref="minNumberPlays" /> | |
74 <xs:attribute ref="maxNumberPlays" /> | |
70 </xs:complexType> | 75 </xs:complexType> |
71 </xs:element> | 76 </xs:element> |
72 | 77 |
73 <xs:element name="page"> | 78 <xs:element name="page"> |
74 <xs:complexType> | 79 <xs:complexType> |
105 <xs:attribute name="position" use="optional" type="xs:nonNegativeInteger" /> | 110 <xs:attribute name="position" use="optional" type="xs:nonNegativeInteger" /> |
106 <xs:attribute ref="preSilence" /> | 111 <xs:attribute ref="preSilence" /> |
107 <xs:attribute ref="postSilence" /> | 112 <xs:attribute ref="postSilence" /> |
108 <xs:attribute ref="playOne" /> | 113 <xs:attribute ref="playOne" /> |
109 <xs:attribute name="restrictMovement" type="xs:boolean" default="false" use="optional" /> | 114 <xs:attribute name="restrictMovement" type="xs:boolean" default="false" use="optional" /> |
115 <xs:attribute ref="minNumberPlays" /> | |
116 <xs:attribute ref="maxNumberPlays" /> | |
110 </xs:complexType> | 117 </xs:complexType> |
111 </xs:element> | 118 </xs:element> |
112 | 119 |
113 <xs:element name="metric"> | 120 <xs:element name="metric"> |
114 <xs:complexType> | 121 <xs:complexType> |
236 <xs:minInclusive value="1" /> | 243 <xs:minInclusive value="1" /> |
237 </xs:restriction> | 244 </xs:restriction> |
238 </xs:simpleType> | 245 </xs:simpleType> |
239 </xs:attribute> | 246 </xs:attribute> |
240 <xs:attribute name="image" type="xs:anyURI" use="optional" /> | 247 <xs:attribute name="image" type="xs:anyURI" use="optional" /> |
248 <xs:attribute ref="minNumberPlays" /> | |
249 <xs:attribute ref="maxNumberPlays" /> | |
241 </xs:complexType> | 250 </xs:complexType> |
242 </xs:element> | 251 </xs:element> |
243 | 252 |
244 <xs:element name="commentquestions"> | 253 <xs:element name="commentquestions"> |
245 <xs:complexType> | 254 <xs:complexType> |