Mercurial > hg > webaudioevaluationtool
comparison 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 |
comparison
equal
deleted
inserted
replaced
2822:394b5e20d78f | 2823:25027b8665a2 |
---|---|
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" /> | 30 <xs:attribute name="minNumberPlays" type="xs:nonNegativeInteger" default="0" /> |
31 <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" use="optional" /> | 31 <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" /> |
32 | 32 |
33 <xs:attribute name="playOne" type="xs:boolean" default="false" /> | 33 <xs:attribute name="playOne" type="xs:boolean" default="false" /> |
34 | 34 |
35 <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> | 35 <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> |
36 | 36 |
68 </xs:simpleType> | 68 </xs:simpleType> |
69 </xs:attribute> | 69 </xs:attribute> |
70 <xs:attribute ref="preSilence" /> | 70 <xs:attribute ref="preSilence" /> |
71 <xs:attribute ref="postSilence" /> | 71 <xs:attribute ref="postSilence" /> |
72 <xs:attribute ref="playOne" /> | 72 <xs:attribute ref="playOne" /> |
73 <xs:attribute ref="minNumberPlays" /> | 73 <xs:attribute ref="minNumberPlays" use="optional" /> |
74 <xs:attribute ref="maxNumberPlays" /> | 74 <xs:attribute ref="maxNumberPlays" use="optional" /> |
75 </xs:complexType> | 75 </xs:complexType> |
76 </xs:element> | 76 </xs:element> |
77 | 77 |
78 <xs:element name="page"> | 78 <xs:element name="page"> |
79 <xs:complexType> | 79 <xs:complexType> |
110 <xs:attribute name="position" use="optional" type="xs:nonNegativeInteger" /> | 110 <xs:attribute name="position" use="optional" type="xs:nonNegativeInteger" /> |
111 <xs:attribute ref="preSilence" /> | 111 <xs:attribute ref="preSilence" /> |
112 <xs:attribute ref="postSilence" /> | 112 <xs:attribute ref="postSilence" /> |
113 <xs:attribute ref="playOne" /> | 113 <xs:attribute ref="playOne" /> |
114 <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" /> | 115 <xs:attribute ref="minNumberPlays" use="optional" /> |
116 <xs:attribute ref="maxNumberPlays" /> | 116 <xs:attribute ref="maxNumberPlays" use="optional" /> |
117 </xs:complexType> | 117 </xs:complexType> |
118 </xs:element> | 118 </xs:element> |
119 | 119 |
120 <xs:element name="metric"> | 120 <xs:element name="metric"> |
121 <xs:complexType> | 121 <xs:complexType> |
243 <xs:minInclusive value="1" /> | 243 <xs:minInclusive value="1" /> |
244 </xs:restriction> | 244 </xs:restriction> |
245 </xs:simpleType> | 245 </xs:simpleType> |
246 </xs:attribute> | 246 </xs:attribute> |
247 <xs:attribute name="image" type="xs:anyURI" use="optional" /> | 247 <xs:attribute name="image" type="xs:anyURI" use="optional" /> |
248 <xs:attribute ref="minNumberPlays" /> | 248 <xs:attribute ref="minNumberPlays" use="optional" /> |
249 <xs:attribute ref="maxNumberPlays" /> | 249 <xs:attribute ref="maxNumberPlays" use="optional" /> |
250 </xs:complexType> | 250 </xs:complexType> |
251 </xs:element> | 251 </xs:element> |
252 | 252 |
253 <xs:element name="commentquestions"> | 253 <xs:element name="commentquestions"> |
254 <xs:complexType> | 254 <xs:complexType> |