Mercurial > hg > webaudioevaluationtool
comparison test-schema.xsd @ 605:716c05000a6e
Schema preparation for #1639
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Thu, 10 Mar 2016 17:07:46 +0000 |
parents | 96cb6735c9c2 |
children | fef9f13bec0a 6b7ac72ccec8 |
comparison
equal
deleted
inserted
replaced
604:96cb6735c9c2 | 605:716c05000a6e |
---|---|
7 | 7 |
8 <!-- define simple attributes--> | 8 <!-- define simple attributes--> |
9 <xs:attribute name="id" type="xs:ID"/> | 9 <xs:attribute name="id" type="xs:ID"/> |
10 <xs:attribute name="mandatory" type="xs:boolean"/> | 10 <xs:attribute name="mandatory" type="xs:boolean"/> |
11 <xs:attribute name="name" type="xs:string"/> | 11 <xs:attribute name="name" type="xs:string"/> |
12 | |
13 <xs:attribute name="preSilence" default="0"> | |
14 <xs:simpleType> | |
15 <xs:restriction base="xs:decimal"> | |
16 <xs:minInclusive value="0.0"/> | |
17 </xs:restriction> | |
18 </xs:simpleType> | |
19 </xs:attribute> | |
20 <xs:attribute name="postSilence" default="0"> | |
21 <xs:simpleType> | |
22 <xs:restriction base="xs:decimal"> | |
23 <xs:minInclusive value="0.0"/> | |
24 </xs:restriction> | |
25 </xs:simpleType> | |
26 </xs:attribute> | |
12 | 27 |
13 <!-- define complex elements--> | 28 <!-- define complex elements--> |
14 <xs:element name="waet"> | 29 <xs:element name="waet"> |
15 <xs:complexType> | 30 <xs:complexType> |
16 <xs:sequence> | 31 <xs:sequence> |
33 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/> | 48 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/> |
34 <xs:attribute name="testPages" type="xs:nonNegativeInteger" default="0"/> | 49 <xs:attribute name="testPages" type="xs:nonNegativeInteger" default="0"/> |
35 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> | 50 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> |
36 <xs:attribute name="sampleRate" type="xs:positiveInteger" use="optional"/> | 51 <xs:attribute name="sampleRate" type="xs:positiveInteger" use="optional"/> |
37 <xs:attribute name="calibration" type="xs:boolean" default="false"/> | 52 <xs:attribute name="calibration" type="xs:boolean" default="false"/> |
53 <xs:attribute ref="preSilence"/> | |
54 <xs:attribute ref="postSilence"/> | |
38 </xs:complexType> | 55 </xs:complexType> |
39 </xs:element> | 56 </xs:element> |
40 | 57 |
41 <xs:element name="page"> | 58 <xs:element name="page"> |
42 <xs:complexType> | 59 <xs:complexType> |
65 <xs:enumeration value="letter"/> | 82 <xs:enumeration value="letter"/> |
66 <xs:enumeration value="capital"/> | 83 <xs:enumeration value="capital"/> |
67 </xs:restriction> | 84 </xs:restriction> |
68 </xs:simpleType> | 85 </xs:simpleType> |
69 </xs:attribute> | 86 </xs:attribute> |
87 <xs:attribute ref="preSilence"/> | |
88 <xs:attribute ref="postSilence"/> | |
70 </xs:complexType> | 89 </xs:complexType> |
71 </xs:element> | 90 </xs:element> |
72 | 91 |
73 <xs:element name="metric"> | 92 <xs:element name="metric"> |
74 <xs:complexType> | 93 <xs:complexType> |
148 <xs:maxInclusive value="100"/> | 167 <xs:maxInclusive value="100"/> |
149 </xs:restriction> | 168 </xs:restriction> |
150 </xs:simpleType> | 169 </xs:simpleType> |
151 </xs:attribute> | 170 </xs:attribute> |
152 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> | 171 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> |
172 <xs:attribute ref="preSilence"/> | |
173 <xs:attribute ref="postSilence"/> | |
153 </xs:complexType> | 174 </xs:complexType> |
154 </xs:element> | 175 </xs:element> |
155 | 176 |
156 <xs:element name="commentquestion"> | 177 <xs:element name="commentquestion"> |
157 <xs:complexType> | 178 <xs:complexType> |