Mercurial > hg > webaudioevaluationtool
comparison xml/test-schema.xsd @ 3033:21e3777edf58
#218 Add mandatory tags to comment/-question/-slider/-radio/-checkbox in schema
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Mon, 25 Sep 2017 11:57:42 +0100 |
parents | 664065577426 |
children | 83097e588634 |
comparison
equal
deleted
inserted
replaced
3032:63af2e23c3d2 | 3033:21e3777edf58 |
---|---|
275 </xs:complexType> | 275 </xs:complexType> |
276 </xs:element> | 276 </xs:element> |
277 </xs:sequence> | 277 </xs:sequence> |
278 <xs:attribute ref="id" use="optional" /> | 278 <xs:attribute ref="id" use="optional" /> |
279 <xs:attribute ref="name" use="optional" /> | 279 <xs:attribute ref="name" use="optional" /> |
280 <xs:attribute ref="mandatory" use="optional" /> | |
280 </xs:complexType> | 281 </xs:complexType> |
281 </xs:element> | 282 </xs:element> |
282 | 283 |
283 <xs:element name="commentcheckbox"> | 284 <xs:element name="commentcheckbox"> |
284 <xs:complexType> | 285 <xs:complexType> |
294 </xs:complexType> | 295 </xs:complexType> |
295 </xs:element> | 296 </xs:element> |
296 </xs:sequence> | 297 </xs:sequence> |
297 <xs:attribute ref="id" use="optional" /> | 298 <xs:attribute ref="id" use="optional" /> |
298 <xs:attribute ref="name" use="optional" /> | 299 <xs:attribute ref="name" use="optional" /> |
300 <xs:attribute ref="mandatory" use="optional" /> | |
299 </xs:complexType> | 301 </xs:complexType> |
300 </xs:element> | 302 </xs:element> |
301 | 303 |
302 <xs:element name="commentquestion"> | 304 <xs:element name="commentquestion"> |
303 <xs:complexType> | 305 <xs:complexType> |
304 <xs:sequence> | 306 <xs:sequence> |
305 <xs:element ref="statement" minOccurs="1" maxOccurs="1" /> | 307 <xs:element ref="statement" minOccurs="1" maxOccurs="1" /> |
306 </xs:sequence> | 308 </xs:sequence> |
307 <xs:attribute ref="id" use="optional" /> | 309 <xs:attribute ref="id" use="optional" /> |
308 <xs:attribute ref="name" use="optional" /> | 310 <xs:attribute ref="name" use="optional" /> |
311 <xs:attribute ref="mandatory" use="optional" /> | |
309 </xs:complexType> | 312 </xs:complexType> |
310 </xs:element> | 313 </xs:element> |
311 | 314 |
312 <xs:element name="commentslider"> | 315 <xs:element name="commentslider"> |
313 <xs:complexType> | 316 <xs:complexType> |
320 <xs:attribute ref="name" use="optional" /> | 323 <xs:attribute ref="name" use="optional" /> |
321 <xs:attribute name="min" type="xs:decimal" use="required" /> | 324 <xs:attribute name="min" type="xs:decimal" use="required" /> |
322 <xs:attribute name="max" type="xs:decimal" use="required" /> | 325 <xs:attribute name="max" type="xs:decimal" use="required" /> |
323 <xs:attribute name="step" type="xs:decimal" use="optional" default="1" /> | 326 <xs:attribute name="step" type="xs:decimal" use="optional" default="1" /> |
324 <xs:attribute name="value" type="xs:decimal" use="optional" /> | 327 <xs:attribute name="value" type="xs:decimal" use="optional" /> |
328 <xs:attribute ref="mandatory" use="optional" /> | |
325 </xs:complexType> | 329 </xs:complexType> |
326 </xs:element> | 330 </xs:element> |
327 | 331 |
328 <xs:element name="conditional"> | 332 <xs:element name="conditional"> |
329 <xs:complexType> | 333 <xs:complexType> |