AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / docs / home / ims / domainProfile_4 / ims_qtiasiv1p2.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3         IPR, License and Distribution Notices\r
4         This machine readable file is derived from IMS specification IMS Question & Test Interoperability Version: 1.2 found at http://www.imsglobal.org/question/ and the original IMS schema binding or code base http://www.imsglobal.org/question/.\r
5         \r
6         Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.\r
7         \r
8         IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.\r
9         \r
10         Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.\r
11         \r
12         License Notice for Users\r
13         Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.\r
14         \r
15         Distribution Notice for Developers\r
16         Developers of products or services that are not original incorporators of this document and have not changed this document, that is, are distributing a software product that incorporates this document as is from a third-party source other than IMS, are hereby granted permission to copy, display and distribute the contents of this document in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof.\r
17         \r
18         Developers of products or services that are original incorporators of this document and wish to provide distribution of this document as is or with modifications and developers of products and services that are not original incorporators of this document and have changed this document, are required to register with the IMS community on the IMS website as described in the following two paragraphs:\r
19         \r
20         - If you wish to distribute this document as is, with no modifications, you are hereby granted permission to copy, display and distribute the contents of this document in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid license registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.\r
21         \r
22         - If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, display and distribute the contents of the derived work in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid profile registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/profile/. Once registered you are granted permission to transfer unlimited distribution rights of the derived work for the purposes of third-party or other distribution of your product or service that incorporates the derived work as long as this IPR, License and Distribution notice remains in place in its entirety.\r
23         \r
24         The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.\r
25         \r
26         THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, \r
27         ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION \r
28         SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR \r
29         ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER \r
30         OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING \r
31         FROM THE USE OF THIS SPECIFICATION.\r
32 -->\r
33 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" targetNamespace="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" elementFormDefault="qualified" version="IMS QTI ASI 1.2">\r
34         <!-- **************************** -->\r
35         <!-- ** Inclusions and Imports ** -->\r
36         <!-- **************************** -->\r
37 <!-- ID changed schemaLocation from "http://www.w3.org/2001/03/xml.xsd" to "http://www.w3.org/2001/xml.xsd" -->\r
38         <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../xml.xsd" />\r
39         <!-- ****************** -->\r
40         <!-- ** Root Element ** -->\r
41         <!-- ****************** -->\r
42         <xs:element name="questestinterop" type="questestinteropType" />\r
43         <!-- ************************** -->\r
44         <!-- ** Element Declarations ** -->\r
45         <!-- ************************** -->\r
46         <xs:element name="altmaterial" type="altmaterialType" />\r
47         <xs:element name="and" type="andType" />\r
48         <xs:element name="and_objects" type="and_objectsType" />\r
49         <xs:element name="and_selection" type="and_selectionType" />\r
50         <xs:element name="and_test" type="and_testType" />\r
51         <xs:element name="assessfeedback" type="assessfeedbackType" />\r
52         <xs:element name="assessment" type="assessmentType" />\r
53         <xs:element name="assessmentcontrol" type="assessmentcontrolType" />\r
54         <xs:element name="assessproc_extension" type="assessproc_extensionType" />\r
55         <xs:element name="conditionvar" type="conditionvarType" />\r
56         <xs:element name="decvar" type="decvarType" />\r
57         <xs:element name="displayfeedback" type="displayfeedbackType" />\r
58         <xs:element name="duration" type="xs:string" />\r
59         <xs:element name="durequal" type="durequalType" />\r
60         <xs:element name="durgt" type="durgtType" />\r
61         <xs:element name="durgte" type="durgteType" />\r
62         <xs:element name="durlt" type="durltType" />\r
63         <xs:element name="durlte" type="durlteType" />\r
64         <xs:element name="fieldentry" type="xs:string" />\r
65         <xs:element name="fieldlabel" type="xs:string" />\r
66         <xs:element name="flow" type="flowType" />\r
67         <xs:element name="flow_label" type="flow_labelType" />\r
68         <xs:element name="flow_mat" type="flow_matType" />\r
69         <xs:element name="hint" type="hintType" />\r
70         <xs:element name="hintmaterial" type="hintmaterialType" />\r
71         <xs:element name="interpretvar" type="interpretvarType" />\r
72         <xs:element name="item" type="itemType" />\r
73         <xs:element name="itemcontrol" type="itemcontrolType" />\r
74         <xs:element name="itemfeedback" type="itemfeedbackType" />\r
75         <xs:element name="itemmetadata" type="itemmetadataType" />\r
76         <xs:element name="itempostcondition" type="xs:string" />\r
77         <xs:element name="itemprecondition" type="xs:string" />\r
78         <xs:element name="itemproc_extension" type="itemproc_extensionType" />\r
79         <xs:element name="itemref" type="itemrefType" />\r
80         <xs:element name="itemrubric" type="itemrubricType" />\r
81         <xs:element name="map_input" type="map_inputType" />\r
82         <xs:element name="map_output" type="map_outputType" />\r
83         <xs:element name="mat_extension" type="mat_extensionType" />\r
84         <xs:element name="matapplet" type="matappletType" />\r
85         <xs:element name="matapplication" type="matapplicationType" />\r
86         <xs:element name="mataudio" type="mataudioType" />\r
87         <xs:element name="matbreak" type="matbreakType" />\r
88         <xs:element name="matemtext" type="matemtextType" />\r
89         <xs:element name="material" type="materialType" />\r
90         <xs:element name="material_ref" type="material_refType" />\r
91         <xs:element name="matimage" type="matimageType" />\r
92         <xs:element name="matref" type="matrefType" />\r
93         <xs:element name="mattext" type="mattextType" />\r
94         <xs:element name="matvideo" type="matvideoType" />\r
95         <xs:element name="not" type="notType" />\r
96         <xs:element name="not_objects" type="not_objectsType" />\r
97         <xs:element name="not_selection" type="not_selectionType" />\r
98         <xs:element name="not_test" type="not_testType" />\r
99         <xs:element name="objectbank" type="objectbankType" />\r
100         <xs:element name="objectives" type="objectivesType" />\r
101         <xs:element name="objects_condition" type="objects_conditionType" />\r
102         <xs:element name="objects_parameter" type="objects_parameterType" />\r
103         <xs:element name="objectscond_extension" type="xs:string" />\r
104         <xs:element name="or" type="orType" />\r
105         <xs:element name="or_objects" type="or_objectsType" />\r
106         <xs:element name="or_selection" type="or_selectionType" />\r
107         <xs:element name="or_test" type="or_testType" />\r
108         <xs:element name="order" type="orderType" />\r
109         <xs:element name="order_extension" type="order_extensionType" />\r
110         <xs:element name="other" type="xs:string" />\r
111         <xs:element name="outcomes" type="outcomesType" />\r
112         <xs:element name="outcomes_feedback_test" type="outcomes_feedback_testType" />\r
113         <xs:element name="outcomes_metadata" type="outcomes_metadataType" />\r
114         <xs:element name="outcomes_processing" type="outcomes_processingType" />\r
115         <xs:element name="presentation" type="presentationType" />\r
116         <xs:element name="presentation_material" type="presentation_materialType" />\r
117         <xs:element name="processing_parameter" type="processing_parameterType" />\r
118         <xs:element name="qmd_computerscored" type="xs:string" />\r
119         <xs:element name="qmd_feedbackpermitted" type="xs:string" />\r
120         <xs:element name="qmd_hintspermitted" type="xs:string" />\r
121         <xs:element name="qmd_itemtype" type="xs:string" />\r
122         <xs:element name="qmd_levelofdifficulty" type="xs:string" />\r
123         <xs:element name="qmd_material" type="xs:string" />\r
124         <xs:element name="qmd_maximumscore" type="xs:string" />\r
125         <xs:element name="qmd_renderingtype" type="xs:string" />\r
126         <xs:element name="qmd_responsetype" type="xs:string" />\r
127         <xs:element name="qmd_scoringpermitted" type="xs:string" />\r
128         <xs:element name="qmd_solutionspermitted" type="xs:string" />\r
129         <xs:element name="qmd_status" type="xs:string" />\r
130         <xs:element name="qmd_timedependence" type="xs:string" />\r
131         <xs:element name="qmd_timelimit" type="xs:string" />\r
132         <xs:element name="qmd_toolvendor" type="xs:string" />\r
133         <xs:element name="qmd_topic" type="xs:string" />\r
134         <xs:element name="qmd_typeofsolution" type="xs:string" />\r
135         <xs:element name="qmd_weighting" type="xs:string" />\r
136         <xs:element name="qticomment" type="qticommentType" />\r
137         <xs:element name="qtimetadata" type="qtimetadataType" />\r
138         <xs:element name="qtimetadatafield" type="qtimetadatafieldType" />\r
139         <xs:element name="reference" type="referenceType" />\r
140         <xs:element name="render_choice" type="render_choiceType" />\r
141         <xs:element name="render_fib" type="render_fibType" />\r
142         <xs:element name="render_hotspot" type="render_hotspotType" />\r
143         <xs:element name="render_slider" type="render_sliderType" />\r
144         <xs:element name="respcond_extension" type="respcond_extensionType" />\r
145         <xs:element name="respcondition" type="respconditionType" />\r
146         <xs:element name="render_extension" type="render_extensionType" />\r
147         <xs:element name="response_extension" type="response_extensionType" />\r
148         <xs:element name="response_grp" type="response_grpType" />\r
149         <xs:element name="response_labelType" type="response_labelType" />\r
150         <xs:element name="response_lid" type="response_lidType" />\r
151         <xs:element name="response_na" type="response_naType" />\r
152         <xs:element name="response_num" type="response_numType" />\r
153         <xs:element name="response_str" type="response_strType" />\r
154         <xs:element name="response_xy" type="response_xyType" />\r
155         <xs:element name="resprocessing" type="resprocessingType" />\r
156         <xs:element name="rubric" type="rubricType" />\r
157         <xs:element name="section" type="sectionType" />\r
158         <xs:element name="sectioncontrol" type="sectioncontrolType" />\r
159         <xs:element name="sectionfeedback" type="sectionfeedbackType" />\r
160         <xs:element name="sectionproc_extension" type="sectionproc_extensionType" />\r
161         <xs:element name="sectionpostcondition" type="xs:string" />\r
162         <xs:element name="sectionprecondition" type="xs:string" />\r
163         <xs:element name="sectionref" type="sectionrefType" />\r
164         <xs:element name="selection" type="selectionType" />\r
165         <xs:element name="selection_extension" type="selection_extensionType" />\r
166         <xs:element name="selection_metadata" type="selection_metadataType" />\r
167         <xs:element name="selection_number" type="xs:string" />\r
168         <xs:element name="selection_ordering" type="selection_orderingType" />\r
169         <xs:element name="sequence_parameter" type="sequence_parameterType" />\r
170         <xs:element name="setvar" type="setvarType" />\r
171         <xs:element name="solution" type="solutionType" />\r
172         <xs:element name="solutionmaterial" type="solutionmaterialType" />\r
173         <xs:element name="sourcebank_ref" type="xs:string" />\r
174         <xs:element name="test_variable" type="test_variableType" />\r
175         <xs:element name="unanswered" type="unansweredType" />\r
176         <xs:element name="var_extension" type="var_extensionType" />\r
177         <xs:element name="varequal" type="varequalType" />\r
178         <xs:element name="vargt" type="vargtType" />\r
179         <xs:element name="vargte" type="vargteType" />\r
180         <xs:element name="variable_test" type="variable_testType" />\r
181         <xs:element name="varinside" type="varinsideType" />\r
182         <xs:element name="varlt" type="varltType" />\r
183         <xs:element name="varlte" type="varlteType" />\r
184         <xs:element name="varsubset" type="varsubsetType" />\r
185         <xs:element name="varsubstring" type="varsubstringType" />\r
186         <xs:element name="vocabulary" type="vocabularyType" />\r
187         <!-- ******************************* -->\r
188         <!-- ** Complex Type Declarations ** -->\r
189         <!-- ******************************* -->\r
190         <!-- ***************** -->\r
191         <!-- ** altmaterial ** -->\r
192         <!-- ***************** -->\r
193         <xs:complexType name="altmaterialType">\r
194                 <xs:sequence>\r
195                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
196                         <xs:choice maxOccurs="unbounded">\r
197                                 <xs:element name="mattext" type="mattextType" />\r
198                                 <xs:element name="matemtext" type="matemtextType" />\r
199                                 <xs:element name="matimage" type="matimageType" />\r
200                                 <xs:element name="mataudio" type="mataudioType" />\r
201                                 <xs:element name="matvideo" type="matvideoType" />\r
202                                 <xs:element name="matapplet" type="matappletType" />\r
203                                 <xs:element name="matapplication" type="matapplicationType" />\r
204                                 <xs:element name="matref" type="matrefType" />\r
205                                 <xs:element ref="matbreak" />\r
206                                 <xs:element ref="mat_extension" />\r
207                         </xs:choice>\r
208                 </xs:sequence>\r
209                 <xs:attribute ref="xml:lang" />\r
210         </xs:complexType>\r
211         <!-- ********* -->\r
212         <!-- ** and ** -->\r
213         <!-- ********* -->\r
214         <xs:complexType name="andType">\r
215                 <xs:choice maxOccurs="unbounded">\r
216                         <xs:element name="not" type="notType" />\r
217                         <xs:element name="and" type="andType" />\r
218                         <xs:element name="or" type="orType" />\r
219                         <xs:element name="unanswered" type="unansweredType" />\r
220                         <xs:element ref="other" />\r
221                         <xs:element name="varequal" type="varequalType" />\r
222                         <xs:element name="varlt" type="varltType" />\r
223                         <xs:element name="varlte" type="varlteType" />\r
224                         <xs:element name="vargt" type="vargtType" />\r
225                         <xs:element name="vargte" type="vargteType" />\r
226                         <xs:element name="varsubset" type="varsubsetType" />\r
227                         <xs:element name="varinside" type="varinsideType" />\r
228                         <xs:element name="varsubstring" type="varsubstringType" />\r
229                         <xs:element name="durequal" type="durequalType" />\r
230                         <xs:element name="durlt" type="durltType" />\r
231                         <xs:element name="durlte" type="durlteType" />\r
232                         <xs:element name="durgt" type="durgtType" />\r
233                         <xs:element name="durgte" type="durgteType" />\r
234                 </xs:choice>\r
235         </xs:complexType>\r
236         <!-- ***************** -->\r
237         <!-- ** and_objects ** -->\r
238         <!-- ***************** -->\r
239         <xs:complexType name="and_objectsType">\r
240                 <xs:choice maxOccurs="unbounded">\r
241                         <xs:element name="outcomes_metadata" type="outcomes_metadataType" />\r
242                         <xs:element name="and_objects" type="and_objectsType" />\r
243                         <xs:element name="or_objects" type="or_objectsType" />\r
244                         <xs:element name="not_objects" type="not_objectsType" />\r
245                 </xs:choice>\r
246         </xs:complexType>\r
247         <!-- ******************* -->\r
248         <!-- ** and_selection ** -->\r
249         <!-- ******************* -->\r
250         <xs:complexType name="and_selectionType">\r
251                 <xs:choice maxOccurs="unbounded">\r
252                         <xs:element name="selection_metadata" type="selection_metadataType" />\r
253                         <xs:element name="and_selection" type="and_selectionType" />\r
254                         <xs:element name="or_selection" type="or_selectionType" />\r
255                         <xs:element name="not_selection" type="not_selectionType" />\r
256                 </xs:choice>\r
257         </xs:complexType>\r
258         <!-- ************** -->\r
259         <!-- ** and_test ** -->\r
260         <!-- ************** -->\r
261         <xs:complexType name="and_testType">\r
262                 <xs:choice maxOccurs="unbounded">\r
263                         <xs:element name="variable_test" type="variable_testType" />\r
264                         <xs:element name="and_test" type="and_testType" />\r
265                         <xs:element name="or_test" type="or_testType" />\r
266                         <xs:element name="not_test" type="not_testType" />\r
267                 </xs:choice>\r
268         </xs:complexType>\r
269         <!-- ******************** -->\r
270         <!-- ** assessfeedback ** -->\r
271         <!-- ******************** -->\r
272         <xs:complexType name="assessfeedbackType">\r
273                 <xs:sequence>\r
274                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
275                         <xs:choice>\r
276                                 <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
277                                 <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
278                         </xs:choice>\r
279                 </xs:sequence>\r
280                 <xs:attribute name="view" default="All">\r
281                         <xs:simpleType>\r
282                                 <xs:restriction base="xs:NMTOKEN">\r
283                                         <xs:enumeration value="All" />\r
284                                         <xs:enumeration value="Administrator" />\r
285                                         <xs:enumeration value="AdminAuthority" />\r
286                                         <xs:enumeration value="Assessor" />\r
287                                         <xs:enumeration value="Author" />\r
288                                         <xs:enumeration value="Candidate" />\r
289                                         <xs:enumeration value="InvigilatorProctor" />\r
290                                         <xs:enumeration value="Psychometrician" />\r
291                                         <xs:enumeration value="Scorer" />\r
292                                         <xs:enumeration value="Tutor" />\r
293                                 </xs:restriction>\r
294                         </xs:simpleType>\r
295                 </xs:attribute>\r
296                 <xs:attribute name="ident" type="xs:string" use="required" />\r
297                 <xs:attribute name="title" type="xs:string" />\r
298         </xs:complexType>\r
299         <!-- **************** -->\r
300         <!-- ** assessment ** -->\r
301         <!-- **************** -->\r
302         <xs:complexType name="assessmentType">\r
303                 <xs:sequence>\r
304                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
305                         <xs:element ref="duration" minOccurs="0" />\r
306                         <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded" />\r
307                         <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded" />\r
308                         <xs:element name="assessmentcontrol" type="assessmentcontrolType" minOccurs="0" maxOccurs="unbounded" />\r
309                         <xs:element name="rubric" type="rubricType" minOccurs="0" maxOccurs="unbounded" />\r
310                         <xs:element name="presentation_material" type="presentation_materialType" minOccurs="0" />\r
311                         <xs:element name="outcomes_processing" type="outcomes_processingType" minOccurs="0" maxOccurs="unbounded" />\r
312                         <xs:element ref="assessproc_extension" minOccurs="0" />\r
313                         <xs:element name="assessfeedback" type="assessfeedbackType" minOccurs="0" maxOccurs="unbounded" />\r
314                         <xs:element name="selection_ordering" type="selection_orderingType" minOccurs="0" />\r
315                         <xs:element name="reference" type="referenceType" minOccurs="0" />\r
316                         <xs:choice maxOccurs="unbounded">\r
317                                 <xs:element name="sectionref" type="sectionrefType" />\r
318                                 <xs:element name="section" type="sectionType" />\r
319                         </xs:choice>\r
320                 </xs:sequence>\r
321                 <xs:attribute name="ident" type="xs:string" use="required" />\r
322                 <xs:attribute name="title" type="xs:string" />\r
323                 <xs:attribute ref="xml:lang" />\r
324         </xs:complexType>\r
325         <!-- *********************** -->\r
326         <!-- ** assessmentcontrol ** -->\r
327         <!-- *********************** -->\r
328         <xs:complexType name="assessmentcontrolType">\r
329                 <xs:sequence>\r
330                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
331                 </xs:sequence>\r
332                 <xs:attribute name="hintswitch" default="Yes">\r
333                         <xs:simpleType>\r
334                                 <xs:restriction base="xs:NMTOKEN">\r
335                                         <xs:enumeration value="Yes" />\r
336                                         <xs:enumeration value="No" />\r
337                                 </xs:restriction>\r
338                         </xs:simpleType>\r
339                 </xs:attribute>\r
340                 <xs:attribute name="solutionswitch" default="Yes">\r
341                         <xs:simpleType>\r
342                                 <xs:restriction base="xs:NMTOKEN">\r
343                                         <xs:enumeration value="Yes" />\r
344                                         <xs:enumeration value="No" />\r
345                                 </xs:restriction>\r
346                         </xs:simpleType>\r
347                 </xs:attribute>\r
348                 <xs:attribute name="view" default="All">\r
349                         <xs:simpleType>\r
350                                 <xs:restriction base="xs:NMTOKEN">\r
351                                         <xs:enumeration value="All" />\r
352                                         <xs:enumeration value="Administrator" />\r
353                                         <xs:enumeration value="AdminAuthority" />\r
354                                         <xs:enumeration value="Assessor" />\r
355                                         <xs:enumeration value="Author" />\r
356                                         <xs:enumeration value="Candidate" />\r
357                                         <xs:enumeration value="InvigilatorProctor" />\r
358                                         <xs:enumeration value="Psychometrician" />\r
359                                         <xs:enumeration value="Scorer" />\r
360                                         <xs:enumeration value="Tutor" />\r
361                                 </xs:restriction>\r
362                         </xs:simpleType>\r
363                 </xs:attribute>\r
364                 <xs:attribute name="feedbackswitch" default="Yes">\r
365                         <xs:simpleType>\r
366                                 <xs:restriction base="xs:NMTOKEN">\r
367                                         <xs:enumeration value="Yes" />\r
368                                         <xs:enumeration value="No" />\r
369                                 </xs:restriction>\r
370                         </xs:simpleType>\r
371                 </xs:attribute>\r
372         </xs:complexType>\r
373         <!-- ************************** -->\r
374         <!-- ** assessproc_extension ** -->\r
375         <!-- ************************** -->\r
376         <xs:complexType name="assessproc_extensionType" mixed="true">\r
377                 <xs:sequence>\r
378                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
379                 </xs:sequence>\r
380                 <xs:anyAttribute processContents="lax" />\r
381         </xs:complexType>\r
382         <!-- ****************** -->\r
383         <!-- ** conditionvar ** -->\r
384         <!-- ****************** -->\r
385         <xs:complexType name="conditionvarType">\r
386                 <xs:choice maxOccurs="unbounded">\r
387                         <xs:element name="not" type="notType" />\r
388                         <xs:element name="and" type="andType" />\r
389                         <xs:element name="or" type="orType" />\r
390                         <xs:element name="unanswered" type="unansweredType" />\r
391                         <xs:element ref="other" />\r
392                         <xs:element name="varequal" type="varequalType" />\r
393                         <xs:element name="varlt" type="varltType" />\r
394                         <xs:element name="varlte" type="varlteType" />\r
395                         <xs:element name="vargt" type="vargtType" />\r
396                         <xs:element name="vargte" type="vargteType" />\r
397                         <xs:element name="varsubset" type="varsubsetType" />\r
398                         <xs:element name="varinside" type="varinsideType" />\r
399                         <xs:element name="varsubstring" type="varsubstringType" />\r
400                         <xs:element name="durequal" type="durequalType" />\r
401                         <xs:element name="durlt" type="durltType" />\r
402                         <xs:element name="durlte" type="durlteType" />\r
403                         <xs:element name="durgt" type="durgtType" />\r
404                         <xs:element name="durgte" type="durgteType" />\r
405                         <xs:element ref="var_extension" />\r
406                 </xs:choice>\r
407         </xs:complexType>\r
408         <!-- ************ -->\r
409         <!-- ** decvar ** -->\r
410         <!-- ************ -->\r
411         <xs:complexType name="decvarType">\r
412                 <xs:simpleContent>\r
413                         <xs:extension base="xs:string">\r
414                                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
415                                 <xs:attribute name="vartype" default="Integer">\r
416                                         <xs:simpleType>\r
417                                                 <xs:restriction base="xs:NMTOKEN">\r
418                                                         <xs:enumeration value="Integer" />\r
419                                                         <xs:enumeration value="String" />\r
420                                                         <xs:enumeration value="Decimal" />\r
421                                                         <xs:enumeration value="Scientific" />\r
422                                                         <xs:enumeration value="Boolean" />\r
423                                                         <xs:enumeration value="Enumerated" />\r
424                                                         <xs:enumeration value="Set" />\r
425                                                 </xs:restriction>\r
426                                         </xs:simpleType>\r
427                                 </xs:attribute>\r
428                                 <xs:attribute name="defaultval" type="xs:string" />\r
429                                 <xs:attribute name="minvalue" type="xs:string" />\r
430                                 <xs:attribute name="maxvalue" type="xs:string" />\r
431                                 <xs:attribute name="members" type="xs:string" />\r
432                                 <xs:attribute name="cutvalue" type="xs:string" />\r
433                         </xs:extension>\r
434                 </xs:simpleContent>\r
435         </xs:complexType>\r
436         <!-- ********************* -->\r
437         <!-- ** displayfeedback ** -->\r
438         <!-- ********************* -->\r
439         <xs:complexType name="displayfeedbackType">\r
440                 <xs:simpleContent>\r
441                         <xs:extension base="xs:string">\r
442                                 <xs:attribute name="feedbacktype" default="Response">\r
443                                         <xs:simpleType>\r
444                                                 <xs:restriction base="xs:NMTOKEN">\r
445                                                         <xs:enumeration value="Response" />\r
446                                                         <xs:enumeration value="Solution" />\r
447                                                         <xs:enumeration value="Hint" />\r
448                                                 </xs:restriction>\r
449                                         </xs:simpleType>\r
450                                 </xs:attribute>\r
451                                 <xs:attribute name="linkrefid" type="xs:string" use="required" />\r
452                         </xs:extension>\r
453                 </xs:simpleContent>\r
454         </xs:complexType>\r
455         <!-- ************** -->\r
456         <!-- ** durequal ** -->\r
457         <!-- ************** -->\r
458         <xs:complexType name="durequalType">\r
459                 <xs:simpleContent>\r
460                         <xs:extension base="xs:string">\r
461                                 <xs:attribute name="index" type="xs:string" />\r
462                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
463                         </xs:extension>\r
464                 </xs:simpleContent>\r
465         </xs:complexType>\r
466         <!-- *********** -->\r
467         <!-- ** durgt ** -->\r
468         <!-- *********** -->\r
469         <xs:complexType name="durgtType">\r
470                 <xs:simpleContent>\r
471                         <xs:extension base="xs:string">\r
472                                 <xs:attribute name="index" type="xs:string" />\r
473                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
474                         </xs:extension>\r
475                 </xs:simpleContent>\r
476         </xs:complexType>\r
477         <!-- ************ -->\r
478         <!-- ** durgte ** -->\r
479         <!-- ************ -->\r
480         <xs:complexType name="durgteType">\r
481                 <xs:simpleContent>\r
482                         <xs:extension base="xs:string">\r
483                                 <xs:attribute name="index" type="xs:string" />\r
484                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
485                         </xs:extension>\r
486                 </xs:simpleContent>\r
487         </xs:complexType>\r
488         <!-- *********** -->\r
489         <!-- ** durlt ** -->\r
490         <!-- *********** -->\r
491         <xs:complexType name="durltType">\r
492                 <xs:simpleContent>\r
493                         <xs:extension base="xs:string">\r
494                                 <xs:attribute name="index" type="xs:string" />\r
495                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
496                         </xs:extension>\r
497                 </xs:simpleContent>\r
498         </xs:complexType>\r
499         <!-- ************ -->\r
500         <!-- ** durlte ** -->\r
501         <!-- ************ -->\r
502         <xs:complexType name="durlteType">\r
503                 <xs:simpleContent>\r
504                         <xs:extension base="xs:string">\r
505                                 <xs:attribute name="index" type="xs:string" />\r
506                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
507                         </xs:extension>\r
508                 </xs:simpleContent>\r
509         </xs:complexType>\r
510         <!-- ********** -->\r
511         <!-- ** flow ** -->\r
512         <!-- ********** -->\r
513         <xs:complexType name="flowType">\r
514                 <xs:choice maxOccurs="unbounded">\r
515                         <xs:element name="flow" type="flowType" />\r
516                         <xs:element name="material" type="materialType" />\r
517                         <xs:element name="material_ref" type="material_refType" />\r
518                         <xs:element name="response_lid" type="response_lidType" />\r
519                         <xs:element name="response_xy" type="response_xyType" />\r
520                         <xs:element name="response_str" type="response_strType" />\r
521                         <xs:element name="response_num" type="response_numType" />\r
522                         <xs:element name="response_grp" type="response_grpType" />\r
523                         <xs:element ref="response_extension" />\r
524                 </xs:choice>\r
525                 <xs:attribute name="class" type="xs:string" default="Block" />\r
526         </xs:complexType>\r
527         <!-- **************** -->\r
528         <!-- ** flow_label ** -->\r
529         <!-- **************** -->\r
530         <xs:complexType name="flow_labelType">\r
531                 <xs:choice maxOccurs="unbounded">\r
532                         <xs:element name="flow_label" type="flow_labelType" />\r
533                         <xs:element name="response_label" type="response_labelType" />\r
534                 </xs:choice>\r
535                 <xs:attribute name="class" type="xs:string" default="Block" />\r
536         </xs:complexType>\r
537         <!-- ************** -->\r
538         <!-- ** flow_mat ** -->\r
539         <!-- ************** -->\r
540         <xs:complexType name="flow_matType">\r
541                 <xs:choice maxOccurs="unbounded">\r
542                         <xs:element name="flow_mat" type="flow_matType" />\r
543                         <xs:element name="material" type="materialType" />\r
544                         <xs:element name="material_ref" type="material_refType" />\r
545                 </xs:choice>\r
546                 <xs:attribute name="class" type="xs:string" default="Block" />\r
547         </xs:complexType>\r
548         <!-- ********** -->\r
549         <!-- ** hint ** -->\r
550         <!-- ********** -->\r
551         <xs:complexType name="hintType">\r
552                 <xs:sequence>\r
553                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
554                         <xs:element name="hintmaterial" type="hintmaterialType" maxOccurs="unbounded" />\r
555                 </xs:sequence>\r
556                 <xs:attribute name="feedbackstyle" default="Complete">\r
557                         <xs:simpleType>\r
558                                 <xs:restriction base="xs:NMTOKEN">\r
559                                         <xs:enumeration value="Complete" />\r
560                                         <xs:enumeration value="Incremental" />\r
561                                         <xs:enumeration value="Multilevel" />\r
562                                         <xs:enumeration value="Proprietary" />\r
563                                 </xs:restriction>\r
564                         </xs:simpleType>\r
565                 </xs:attribute>\r
566         </xs:complexType>\r
567         <!-- ****************** -->\r
568         <!-- ** hintmaterial ** -->\r
569         <!-- ****************** -->\r
570         <xs:complexType name="hintmaterialType">\r
571                 <xs:choice>\r
572                         <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
573                         <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
574                 </xs:choice>\r
575         </xs:complexType>\r
576         <!-- ****************** -->\r
577         <!-- ** interpretvar ** -->\r
578         <!-- ****************** -->\r
579         <xs:complexType name="interpretvarType">\r
580                 <xs:choice>\r
581                         <xs:element name="material" type="materialType" />\r
582                         <xs:element name="material_ref" type="material_refType" />\r
583                 </xs:choice>\r
584                 <xs:attribute name="view" default="All">\r
585                         <xs:simpleType>\r
586                                 <xs:restriction base="xs:NMTOKEN">\r
587                                         <xs:enumeration value="All" />\r
588                                         <xs:enumeration value="Administrator" />\r
589                                         <xs:enumeration value="AdminAuthority" />\r
590                                         <xs:enumeration value="Assessor" />\r
591                                         <xs:enumeration value="Author" />\r
592                                         <xs:enumeration value="Candidate" />\r
593                                         <xs:enumeration value="InvigilatorProctor" />\r
594                                         <xs:enumeration value="Psychometrician" />\r
595                                         <xs:enumeration value="Scorer" />\r
596                                         <xs:enumeration value="Tutor" />\r
597                                 </xs:restriction>\r
598                         </xs:simpleType>\r
599                 </xs:attribute>\r
600                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
601         </xs:complexType>\r
602         <!-- ********** -->\r
603         <!-- ** item ** -->\r
604         <!-- ********** -->\r
605         <xs:complexType name="itemType">\r
606                 <xs:sequence>\r
607                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
608                         <xs:element ref="duration" minOccurs="0" />\r
609                         <xs:element name="itemmetadata" type="itemmetadataType" minOccurs="0" />\r
610                         <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded" />\r
611                         <xs:element name="itemcontrol" type="itemcontrolType" minOccurs="0" maxOccurs="unbounded" />\r
612                         <xs:element ref="itemprecondition" minOccurs="0" maxOccurs="unbounded" />\r
613                         <xs:element ref="itempostcondition" minOccurs="0" maxOccurs="unbounded" />\r
614                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
615                                 <xs:element name="itemrubric" type="itemrubricType" />\r
616                                 <xs:element name="rubric" type="rubricType" />\r
617                         </xs:choice>\r
618                         <xs:element name="presentation" type="presentationType" minOccurs="0" />\r
619                         <xs:element name="resprocessing" type="resprocessingType" minOccurs="0" maxOccurs="unbounded" />\r
620                         <xs:element ref="itemproc_extension" minOccurs="0" />\r
621                         <xs:element name="itemfeedback" type="itemfeedbackType" minOccurs="0" maxOccurs="unbounded" />\r
622                         <xs:element name="reference" type="referenceType" minOccurs="0" />\r
623                 </xs:sequence>\r
624                 <xs:attribute name="maxattempts" type="xs:string" />\r
625                 <xs:attribute name="label" type="xs:string" />\r
626                 <xs:attribute name="ident" type="xs:string" use="required" />\r
627                 <xs:attribute name="title" type="xs:string" />\r
628                 <xs:attribute ref="xml:lang" />\r
629         </xs:complexType>\r
630         <!-- ***************** -->\r
631         <!-- ** itemcontrol ** -->\r
632         <!-- ***************** -->\r
633         <xs:complexType name="itemcontrolType">\r
634                 <xs:sequence>\r
635                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
636                 </xs:sequence>\r
637                 <xs:attribute name="feedbackswitch" default="Yes">\r
638                         <xs:simpleType>\r
639                                 <xs:restriction base="xs:NMTOKEN">\r
640                                         <xs:enumeration value="Yes" />\r
641                                         <xs:enumeration value="No" />\r
642                                 </xs:restriction>\r
643                         </xs:simpleType>\r
644                 </xs:attribute>\r
645                 <xs:attribute name="hintswitch" default="Yes">\r
646                         <xs:simpleType>\r
647                                 <xs:restriction base="xs:NMTOKEN">\r
648                                         <xs:enumeration value="Yes" />\r
649                                         <xs:enumeration value="No" />\r
650                                 </xs:restriction>\r
651                         </xs:simpleType>\r
652                 </xs:attribute>\r
653                 <xs:attribute name="solutionswitch" default="Yes">\r
654                         <xs:simpleType>\r
655                                 <xs:restriction base="xs:NMTOKEN">\r
656                                         <xs:enumeration value="Yes" />\r
657                                         <xs:enumeration value="No" />\r
658                                 </xs:restriction>\r
659                         </xs:simpleType>\r
660                 </xs:attribute>\r
661                 <xs:attribute name="view" default="All">\r
662                         <xs:simpleType>\r
663                                 <xs:restriction base="xs:NMTOKEN">\r
664                                         <xs:enumeration value="All" />\r
665                                         <xs:enumeration value="Administrator" />\r
666                                         <xs:enumeration value="AdminAuthority" />\r
667                                         <xs:enumeration value="Assessor" />\r
668                                         <xs:enumeration value="Author" />\r
669                                         <xs:enumeration value="Candidate" />\r
670                                         <xs:enumeration value="InvigilatorProctor" />\r
671                                         <xs:enumeration value="Psychometrician" />\r
672                                         <xs:enumeration value="Scorer" />\r
673                                         <xs:enumeration value="Tutor" />\r
674                                 </xs:restriction>\r
675                         </xs:simpleType>\r
676                 </xs:attribute>\r
677         </xs:complexType>\r
678         <!-- ****************** -->\r
679         <!-- ** itemfeedback ** -->\r
680         <!-- ****************** -->\r
681         <xs:complexType name="itemfeedbackType">\r
682                 <xs:choice maxOccurs="unbounded">\r
683                         <xs:choice>\r
684                                 <xs:element name="flow_mat" type="flow_matType" />\r
685                                 <xs:element name="material" type="materialType" />\r
686                         </xs:choice>\r
687                         <xs:element name="solution" type="solutionType" />\r
688                         <xs:element name="hint" type="hintType" />\r
689                 </xs:choice>\r
690                 <xs:attribute name="view" default="All">\r
691                         <xs:simpleType>\r
692                                 <xs:restriction base="xs:NMTOKEN">\r
693                                         <xs:enumeration value="All" />\r
694                                         <xs:enumeration value="Administrator" />\r
695                                         <xs:enumeration value="AdminAuthority" />\r
696                                         <xs:enumeration value="Assessor" />\r
697                                         <xs:enumeration value="Author" />\r
698                                         <xs:enumeration value="Candidate" />\r
699                                         <xs:enumeration value="InvigilatorProctor" />\r
700                                         <xs:enumeration value="Psychometrician" />\r
701                                         <xs:enumeration value="Scorer" />\r
702                                         <xs:enumeration value="Tutor" />\r
703                                 </xs:restriction>\r
704                         </xs:simpleType>\r
705                 </xs:attribute>\r
706                 <xs:attribute name="ident" type="xs:string" use="required" />\r
707                 <xs:attribute name="title" type="xs:string" />\r
708         </xs:complexType>\r
709         <!-- ****************** -->\r
710         <!-- ** itemmetadata ** -->\r
711         <!-- ****************** -->\r
712         <xs:complexType name="itemmetadataType">\r
713                 <xs:sequence>\r
714                         <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded" />\r
715                         <xs:element ref="qmd_computerscored" minOccurs="0" />\r
716                         <xs:element ref="qmd_feedbackpermitted" minOccurs="0" />\r
717                         <xs:element ref="qmd_hintspermitted" minOccurs="0" />\r
718                         <xs:element ref="qmd_itemtype" minOccurs="0" />\r
719                         <xs:element ref="qmd_levelofdifficulty" minOccurs="0" />\r
720                         <xs:element ref="qmd_maximumscore" minOccurs="0" />\r
721                         <xs:element ref="qmd_renderingtype" minOccurs="0" maxOccurs="unbounded" />\r
722                         <xs:element ref="qmd_responsetype" minOccurs="0" maxOccurs="unbounded" />\r
723                         <xs:element ref="qmd_scoringpermitted" minOccurs="0" />\r
724                         <xs:element ref="qmd_solutionspermitted" minOccurs="0" />\r
725                         <xs:element ref="qmd_status" minOccurs="0" />\r
726                         <xs:element ref="qmd_timedependence" minOccurs="0" />\r
727                         <xs:element ref="qmd_timelimit" minOccurs="0" />\r
728                         <xs:element ref="qmd_toolvendor" minOccurs="0" />\r
729                         <xs:element ref="qmd_topic" minOccurs="0" />\r
730                         <xs:element ref="qmd_weighting" minOccurs="0" />\r
731                         <xs:element ref="qmd_material" minOccurs="0" maxOccurs="unbounded" />\r
732                         <xs:element ref="qmd_typeofsolution" minOccurs="0" />\r
733                 </xs:sequence>\r
734         </xs:complexType>\r
735         <!-- ************************ -->\r
736         <!-- ** itemproc_extension ** -->\r
737         <!-- ************************ -->\r
738         <xs:complexType name="itemproc_extensionType" mixed="true">\r
739                 <xs:sequence>\r
740                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
741                 </xs:sequence>\r
742                 <xs:anyAttribute processContents="lax" />\r
743         </xs:complexType>\r
744         <!-- ************* -->\r
745         <!-- ** itemref ** -->\r
746         <!-- ************* -->\r
747         <xs:complexType name="itemrefType">\r
748                 <xs:simpleContent>\r
749                         <xs:extension base="xs:string">\r
750                                 <xs:attribute name="linkrefid" type="xs:string" use="required" />\r
751                         </xs:extension>\r
752                 </xs:simpleContent>\r
753         </xs:complexType>\r
754         <!-- **************** -->\r
755         <!-- ** itemrubric ** -->\r
756         <!-- **************** -->\r
757         <xs:complexType name="itemrubricType">\r
758                 <xs:sequence>\r
759                         <xs:element name="material" type="materialType" />\r
760                 </xs:sequence>\r
761                 <xs:attribute name="view" default="All">\r
762                         <xs:simpleType>\r
763                                 <xs:restriction base="xs:NMTOKEN">\r
764                                         <xs:enumeration value="All" />\r
765                                         <xs:enumeration value="Administrator" />\r
766                                         <xs:enumeration value="AdminAuthority" />\r
767                                         <xs:enumeration value="Assessor" />\r
768                                         <xs:enumeration value="Author" />\r
769                                         <xs:enumeration value="Candidate" />\r
770                                         <xs:enumeration value="InvigilatorProctor" />\r
771                                         <xs:enumeration value="Psychometrician" />\r
772                                         <xs:enumeration value="Scorer" />\r
773                                         <xs:enumeration value="Tutor" />\r
774                                 </xs:restriction>\r
775                         </xs:simpleType>\r
776                 </xs:attribute>\r
777         </xs:complexType>\r
778         <!-- *************** -->\r
779         <!-- ** map_input ** -->\r
780         <!-- *************** -->\r
781         <xs:complexType name="map_inputType">\r
782                 <xs:simpleContent>\r
783                         <xs:extension base="xs:string">\r
784                                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
785                         </xs:extension>\r
786                 </xs:simpleContent>\r
787         </xs:complexType>\r
788         <!-- **************** -->\r
789         <!-- ** map_output ** -->\r
790         <!-- **************** -->\r
791         <xs:complexType name="map_outputType">\r
792                 <xs:simpleContent>\r
793                         <xs:extension base="xs:string">\r
794                                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
795                         </xs:extension>\r
796                 </xs:simpleContent>\r
797         </xs:complexType>\r
798         <!-- ******************* -->\r
799         <!-- ** mat_extension ** -->\r
800         <!-- ******************* -->\r
801         <xs:complexType name="mat_extensionType" mixed="true">\r
802                 <xs:sequence>\r
803                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
804                 </xs:sequence>\r
805                 <xs:anyAttribute processContents="lax" />\r
806         </xs:complexType>\r
807         <!-- *************** -->\r
808         <!-- ** matapplet ** -->\r
809         <!-- *************** -->\r
810         <xs:complexType name="matappletType">\r
811                 <xs:simpleContent>\r
812                         <xs:extension base="xs:string">\r
813                                 <xs:attribute name="label" type="xs:string" />\r
814                                 <xs:attribute name="uri" type="xs:string" />\r
815                                 <xs:attribute name="y0" type="xs:string" />\r
816                                 <xs:attribute name="height" type="xs:string" />\r
817                                 <xs:attribute name="width" type="xs:string" />\r
818                                 <xs:attribute name="x0" type="xs:string" />\r
819                                 <xs:attribute name="embedded" type="xs:string" default="base64" />\r
820                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
821                         </xs:extension>\r
822                 </xs:simpleContent>\r
823         </xs:complexType>\r
824         <!-- ******************** -->\r
825         <!-- ** matapplication ** -->\r
826         <!-- ******************** -->\r
827         <xs:complexType name="matapplicationType">\r
828                 <xs:simpleContent>\r
829                         <xs:extension base="xs:string">\r
830                                 <xs:attribute name="apptype" type="xs:string" />\r
831                                 <xs:attribute name="label" type="xs:string" />\r
832                                 <xs:attribute name="uri" type="xs:string" />\r
833                                 <xs:attribute name="embedded" type="xs:string" default="base64" />\r
834                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
835                         </xs:extension>\r
836                 </xs:simpleContent>\r
837         </xs:complexType>\r
838         <!-- ************** -->\r
839         <!-- ** mataudio ** -->\r
840         <!-- ************** -->\r
841         <xs:complexType name="mataudioType">\r
842                 <xs:simpleContent>\r
843                         <xs:extension base="xs:string">\r
844                                 <xs:attribute name="audiotype" type="xs:string" default="audio/base" />\r
845                                 <xs:attribute name="label" type="xs:string" />\r
846                                 <xs:attribute name="uri" type="xs:string" />\r
847                                 <xs:attribute name="embedded" type="xs:string" default="base64" />\r
848                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
849                         </xs:extension>\r
850                 </xs:simpleContent>\r
851         </xs:complexType>\r
852         <!-- ************** -->\r
853         <!-- ** matbreak ** -->\r
854         <!-- ************** -->\r
855         <xs:complexType name="matbreakType" />\r
856         <!-- *************** -->\r
857         <!-- ** matemtext ** -->\r
858         <!-- *************** -->\r
859         <xs:complexType name="matemtextType">\r
860                 <xs:simpleContent>\r
861                         <xs:extension base="xs:string">\r
862                                 <xs:attribute name="texttype" type="xs:string" default="text/plain" />\r
863                                 <xs:attribute name="label" type="xs:string" />\r
864                                 <xs:attribute name="charset" type="xs:string" default="ascii-us" />\r
865                                 <xs:attribute name="uri" type="xs:string" />\r
866                                 <xs:attribute ref="xml:space" default="default" />\r
867                                 <xs:attribute ref="xml:lang" />\r
868                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
869                                 <xs:attribute name="width" type="xs:string" />\r
870                                 <xs:attribute name="height" type="xs:string" />\r
871                                 <xs:attribute name="y0" type="xs:string" />\r
872                                 <xs:attribute name="x0" type="xs:string" />\r
873                         </xs:extension>\r
874                 </xs:simpleContent>\r
875         </xs:complexType>\r
876         <!-- ************** -->\r
877         <!-- ** material ** -->\r
878         <!-- ************** -->\r
879         <xs:complexType name="materialType">\r
880                 <xs:sequence>\r
881                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
882                         <xs:choice maxOccurs="unbounded">\r
883                                 <xs:element name="mattext" type="mattextType" />\r
884                                 <xs:element name="matemtext" type="matemtextType" />\r
885                                 <xs:element name="matimage" type="matimageType" />\r
886                                 <xs:element name="mataudio" type="mataudioType" />\r
887                                 <xs:element name="matvideo" type="matvideoType" />\r
888                                 <xs:element name="matapplet" type="matappletType" />\r
889                                 <xs:element name="matapplication" type="matapplicationType" />\r
890                                 <xs:element name="matref" type="matrefType" />\r
891                                 <xs:element ref="matbreak" />\r
892                                 <xs:element ref="mat_extension" />\r
893                         </xs:choice>\r
894                         <xs:element name="altmaterial" type="altmaterialType" minOccurs="0" maxOccurs="unbounded" />\r
895                 </xs:sequence>\r
896                 <xs:attribute name="label" type="xs:string" />\r
897                 <xs:attribute ref="xml:lang" />\r
898         </xs:complexType>\r
899         <!-- ****************** -->\r
900         <!-- ** material_ref ** -->\r
901         <!-- ****************** -->\r
902         <xs:complexType name="material_refType">\r
903                 <xs:attribute name="linkrefid" type="xs:string" use="required" />\r
904         </xs:complexType>\r
905         <!-- ************** -->\r
906         <!-- ** matimage ** -->\r
907         <!-- ************** -->\r
908         <xs:complexType name="matimageType">\r
909                 <xs:simpleContent>\r
910                         <xs:extension base="xs:string">\r
911                                 <xs:attribute name="imagtype" type="xs:string" default="image/jpeg" />\r
912                                 <xs:attribute name="label" type="xs:string" />\r
913                                 <xs:attribute name="height" type="xs:string" />\r
914                                 <xs:attribute name="uri" type="xs:string" />\r
915                                 <xs:attribute name="embedded" type="xs:string" default="base64" />\r
916                                 <xs:attribute name="width" type="xs:string" />\r
917                                 <xs:attribute name="y0" type="xs:string" />\r
918                                 <xs:attribute name="x0" type="xs:string" />\r
919                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
920                         </xs:extension>\r
921                 </xs:simpleContent>\r
922         </xs:complexType>\r
923         <!-- ************ -->\r
924         <!-- ** matref ** -->\r
925         <!-- ************ -->\r
926         <xs:complexType name="matrefType">\r
927                 <xs:attribute name="linkrefid" type="xs:string" use="required" />\r
928         </xs:complexType>\r
929         <!-- ************* -->\r
930         <!-- ** mattext ** -->\r
931         <!-- ************* -->\r
932         <xs:complexType name="mattextType">\r
933                 <xs:simpleContent>\r
934                         <xs:extension base="xs:string">\r
935                                 <xs:attribute name="texttype" type="xs:string" default="text/plain" />\r
936                                 <xs:attribute name="label" type="xs:string" />\r
937                                 <xs:attribute name="charset" type="xs:string" default="ascii-us" />\r
938                                 <xs:attribute name="uri" type="xs:string" />\r
939                                 <xs:attribute ref="xml:space" default="default" />\r
940                                 <xs:attribute ref="xml:lang" />\r
941                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
942                                 <xs:attribute name="width" type="xs:string" />\r
943                                 <xs:attribute name="height" type="xs:string" />\r
944                                 <xs:attribute name="y0" type="xs:string" />\r
945                                 <xs:attribute name="x0" type="xs:string" />\r
946                         </xs:extension>\r
947                 </xs:simpleContent>\r
948         </xs:complexType>\r
949         <!-- ************** -->\r
950         <!-- ** matvideo ** -->\r
951         <!-- ************** -->\r
952         <xs:complexType name="matvideoType">\r
953                 <xs:simpleContent>\r
954                         <xs:extension base="xs:string">\r
955                                 <xs:attribute name="videotype" type="xs:string" default="video/avi" />\r
956                                 <xs:attribute name="label" type="xs:string" />\r
957                                 <xs:attribute name="uri" type="xs:string" />\r
958                                 <xs:attribute name="width" type="xs:string" />\r
959                                 <xs:attribute name="height" type="xs:string" />\r
960                                 <xs:attribute name="y0" type="xs:string" />\r
961                                 <xs:attribute name="x0" type="xs:string" />\r
962                                 <xs:attribute name="embedded" type="xs:string" default="base64" />\r
963                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
964                         </xs:extension>\r
965                 </xs:simpleContent>\r
966         </xs:complexType>\r
967         <!-- ********* -->\r
968         <!-- ** not ** -->\r
969         <!-- ********* -->\r
970         <xs:complexType name="notType">\r
971                 <xs:choice>\r
972                         <xs:element name="and" type="andType" />\r
973                         <xs:element name="or" type="orType" />\r
974                         <xs:element name="not" type="notType" />\r
975                         <xs:element name="unanswered" type="unansweredType" />\r
976                         <xs:element ref="other" />\r
977                         <xs:element name="varequal" type="varequalType" />\r
978                         <xs:element name="varlt" type="varltType" />\r
979                         <xs:element name="varlte" type="varlteType" />\r
980                         <xs:element name="vargt" type="vargtType" />\r
981                         <xs:element name="vargte" type="vargteType" />\r
982                         <xs:element name="varsubset" type="varsubsetType" />\r
983                         <xs:element name="varinside" type="varinsideType" />\r
984                         <xs:element name="varsubstring" type="varsubstringType" />\r
985                         <xs:element name="durequal" type="durequalType" />\r
986                         <xs:element name="durlt" type="durltType" />\r
987                         <xs:element name="durlte" type="durlteType" />\r
988                         <xs:element name="durgt" type="durgtType" />\r
989                         <xs:element name="durgte" type="durgteType" />\r
990                 </xs:choice>\r
991         </xs:complexType>\r
992         <!-- ***************** -->\r
993         <!-- ** not_objects ** -->\r
994         <!-- ***************** -->\r
995         <xs:complexType name="not_objectsType">\r
996                 <xs:choice>\r
997                         <xs:element name="outcomes_metadata" type="outcomes_metadataType" />\r
998                         <xs:element name="and_objects" type="and_objectsType" />\r
999                         <xs:element name="or_objects" type="or_objectsType" />\r
1000                         <xs:element name="not_objects" type="not_objectsType" />\r
1001                 </xs:choice>\r
1002         </xs:complexType>\r
1003         <!-- ******************* -->\r
1004         <!-- ** not_selection ** -->\r
1005         <!-- ******************* -->\r
1006         <xs:complexType name="not_selectionType">\r
1007                 <xs:choice>\r
1008                         <xs:element name="selection_metadata" type="selection_metadataType" />\r
1009                         <xs:element name="and_selection" type="and_selectionType" />\r
1010                         <xs:element name="or_selection" type="or_selectionType" />\r
1011                         <xs:element name="not_selection" type="not_selectionType" />\r
1012                 </xs:choice>\r
1013         </xs:complexType>\r
1014         <!-- ************** -->\r
1015         <!-- ** not_test ** -->\r
1016         <!-- ************** -->\r
1017         <xs:complexType name="not_testType">\r
1018                 <xs:choice>\r
1019                         <xs:element name="variable_test" type="variable_testType" />\r
1020                         <xs:element name="and_test" type="and_testType" />\r
1021                         <xs:element name="or_test" type="or_testType" />\r
1022                         <xs:element name="not_test" type="not_testType" />\r
1023                 </xs:choice>\r
1024         </xs:complexType>\r
1025         <!-- **************** -->\r
1026         <!-- ** objectbank ** -->\r
1027         <!-- **************** -->\r
1028         <xs:complexType name="objectbankType">\r
1029                 <xs:sequence>\r
1030                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1031                         <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded" />\r
1032                         <xs:choice maxOccurs="unbounded">\r
1033                                 <xs:element name="section" type="sectionType" />\r
1034                                 <xs:element name="item" type="itemType" />\r
1035                         </xs:choice>\r
1036                 </xs:sequence>\r
1037                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1038         </xs:complexType>\r
1039         <!-- **************** -->\r
1040         <!-- ** objectives ** -->\r
1041         <!-- **************** -->\r
1042         <xs:complexType name="objectivesType">\r
1043                 <xs:sequence>\r
1044                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1045                         <xs:choice>\r
1046                                 <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
1047                                 <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
1048                         </xs:choice>\r
1049                 </xs:sequence>\r
1050                 <xs:attribute name="view" default="All">\r
1051                         <xs:simpleType>\r
1052                                 <xs:restriction base="xs:NMTOKEN">\r
1053                                         <xs:enumeration value="All" />\r
1054                                         <xs:enumeration value="Administrator" />\r
1055                                         <xs:enumeration value="AdminAuthority" />\r
1056                                         <xs:enumeration value="Assessor" />\r
1057                                         <xs:enumeration value="Author" />\r
1058                                         <xs:enumeration value="Candidate" />\r
1059                                         <xs:enumeration value="InvigilatorProctor" />\r
1060                                         <xs:enumeration value="Psychometrician" />\r
1061                                         <xs:enumeration value="Scorer" />\r
1062                                         <xs:enumeration value="Tutor" />\r
1063                                 </xs:restriction>\r
1064                         </xs:simpleType>\r
1065                 </xs:attribute>\r
1066         </xs:complexType>\r
1067         <!-- *********************** -->\r
1068         <!-- ** objects_condition ** -->\r
1069         <!-- *********************** -->\r
1070         <xs:complexType name="objects_conditionType">\r
1071                 <xs:sequence>\r
1072                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1073                         <xs:choice minOccurs="0">\r
1074                                 <xs:element name="outcomes_metadata" type="outcomes_metadataType" />\r
1075                                 <xs:element name="and_objects" type="and_objectsType" />\r
1076                                 <xs:element name="or_objects" type="or_objectsType" />\r
1077                                 <xs:element name="not_objects" type="not_objectsType" />\r
1078                         </xs:choice>\r
1079                         <xs:element name="objects_parameter" type="objects_parameterType" minOccurs="0" maxOccurs="unbounded" />\r
1080                         <xs:element name="map_input" type="map_inputType" minOccurs="0" maxOccurs="unbounded" />\r
1081                         <xs:element ref="objectscond_extension" minOccurs="0" />\r
1082                 </xs:sequence>\r
1083         </xs:complexType>\r
1084         <!-- *********************** -->\r
1085         <!-- ** objects_parameter ** -->\r
1086         <!-- *********************** -->\r
1087         <xs:complexType name="objects_parameterType">\r
1088                 <xs:simpleContent>\r
1089                         <xs:extension base="xs:string">\r
1090                                 <xs:attribute name="pname" type="xs:string" use="required" />\r
1091                         </xs:extension>\r
1092                 </xs:simpleContent>\r
1093         </xs:complexType>\r
1094         <!-- ******** -->\r
1095         <!-- ** or ** -->\r
1096         <!-- ******** -->\r
1097         <xs:complexType name="orType">\r
1098                 <xs:choice maxOccurs="unbounded">\r
1099                         <xs:element name="not" type="notType" />\r
1100                         <xs:element name="and" type="andType" />\r
1101                         <xs:element name="or" type="orType" />\r
1102                         <xs:element name="unanswered" type="unansweredType" />\r
1103                         <xs:element ref="other" />\r
1104                         <xs:element name="varequal" type="varequalType" />\r
1105                         <xs:element name="varlt" type="varltType" />\r
1106                         <xs:element name="varlte" type="varlteType" />\r
1107                         <xs:element name="vargt" type="vargtType" />\r
1108                         <xs:element name="vargte" type="vargteType" />\r
1109                         <xs:element name="varsubset" type="varsubsetType" />\r
1110                         <xs:element name="varinside" type="varinsideType" />\r
1111                         <xs:element name="varsubstring" type="varsubstringType" />\r
1112                         <xs:element name="durequal" type="durequalType" />\r
1113                         <xs:element name="durlt" type="durltType" />\r
1114                         <xs:element name="durlte" type="durlteType" />\r
1115                         <xs:element name="durgt" type="durgtType" />\r
1116                         <xs:element name="durgte" type="durgteType" />\r
1117                 </xs:choice>\r
1118         </xs:complexType>\r
1119         <!-- **************** -->\r
1120         <!-- ** or_objects ** -->\r
1121         <!-- **************** -->\r
1122         <xs:complexType name="or_objectsType">\r
1123                 <xs:choice maxOccurs="unbounded">\r
1124                         <xs:element name="outcomes_metadata" type="outcomes_metadataType" />\r
1125                         <xs:element name="and_objects" type="and_objectsType" />\r
1126                         <xs:element name="or_objects" type="or_objectsType" />\r
1127                         <xs:element name="not_objects" type="not_objectsType" />\r
1128                 </xs:choice>\r
1129         </xs:complexType>\r
1130         <!-- ****************** -->\r
1131         <!-- ** or_selection ** -->\r
1132         <!-- ****************** -->\r
1133         <xs:complexType name="or_selectionType">\r
1134                 <xs:choice maxOccurs="unbounded">\r
1135                         <xs:element name="selection_metadata" type="selection_metadataType" />\r
1136                         <xs:element name="and_selection" type="and_selectionType" />\r
1137                         <xs:element name="or_selection" type="or_selectionType" />\r
1138                         <xs:element name="not_selection" type="not_selectionType" />\r
1139                 </xs:choice>\r
1140         </xs:complexType>\r
1141         <!-- ************* -->\r
1142         <!-- ** or_test ** -->\r
1143         <!-- ************* -->\r
1144         <xs:complexType name="or_testType">\r
1145                 <xs:choice maxOccurs="unbounded">\r
1146                         <xs:element name="variable_test" type="variable_testType" />\r
1147                         <xs:element name="and_test" type="and_testType" />\r
1148                         <xs:element name="or_test" type="or_testType" />\r
1149                         <xs:element name="not_test" type="not_testType" />\r
1150                 </xs:choice>\r
1151         </xs:complexType>\r
1152         <!-- *********** -->\r
1153         <!-- ** order ** -->\r
1154         <!-- *********** -->\r
1155         <xs:complexType name="orderType">\r
1156                 <xs:sequence>\r
1157                         <xs:element ref="order_extension" minOccurs="0" />\r
1158                 </xs:sequence>\r
1159                 <xs:attribute name="order_type" type="xs:string" use="required" />\r
1160         </xs:complexType>\r
1161         <!-- ********************* -->\r
1162         <!-- ** order_extension ** -->\r
1163         <!-- ********************* -->\r
1164         <xs:complexType name="order_extensionType" mixed="true">\r
1165                 <xs:sequence>\r
1166                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1167                 </xs:sequence>\r
1168                 <xs:anyAttribute processContents="lax" />\r
1169         </xs:complexType>\r
1170         <!-- ************** -->\r
1171         <!-- ** outcomes ** -->\r
1172         <!-- ************** -->\r
1173         <xs:complexType name="outcomesType">\r
1174                 <xs:sequence>\r
1175                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1176                         <xs:sequence maxOccurs="unbounded">\r
1177                                 <xs:element name="decvar" type="decvarType" />\r
1178                                 <xs:element name="interpretvar" type="interpretvarType" minOccurs="0" maxOccurs="unbounded" />\r
1179                         </xs:sequence>\r
1180                 </xs:sequence>\r
1181         </xs:complexType>\r
1182         <!-- **************************** -->\r
1183         <!-- ** outcomes_feedback_test ** -->\r
1184         <!-- **************************** -->\r
1185         <xs:complexType name="outcomes_feedback_testType">\r
1186                 <xs:sequence>\r
1187                         <xs:element name="test_variable" type="test_variableType" />\r
1188                         <xs:element name="displayfeedback" type="displayfeedbackType" maxOccurs="unbounded" />\r
1189                 </xs:sequence>\r
1190                 <xs:attribute name="title" type="xs:string" />\r
1191         </xs:complexType>\r
1192         <!-- *********************** -->\r
1193         <!-- ** outcomes_metadata ** -->\r
1194         <!-- *********************** -->\r
1195         <xs:complexType name="outcomes_metadataType">\r
1196                 <xs:simpleContent>\r
1197                         <xs:extension base="xs:string">\r
1198                                 <xs:attribute name="mdname" type="xs:string" use="required" />\r
1199                                 <xs:attribute name="mdoperator" use="required">\r
1200                                         <xs:simpleType>\r
1201                                                 <xs:restriction base="xs:NMTOKEN">\r
1202                                                         <xs:enumeration value="EQ" />\r
1203                                                         <xs:enumeration value="NEQ" />\r
1204                                                         <xs:enumeration value="LT" />\r
1205                                                         <xs:enumeration value="LTE" />\r
1206                                                         <xs:enumeration value="GT" />\r
1207                                                         <xs:enumeration value="GTE" />\r
1208                                                 </xs:restriction>\r
1209                                         </xs:simpleType>\r
1210                                 </xs:attribute>\r
1211                         </xs:extension>\r
1212                 </xs:simpleContent>\r
1213         </xs:complexType>\r
1214         <!-- ************************* -->\r
1215         <!-- ** outcomes_processing ** -->\r
1216         <!-- ************************* -->\r
1217         <xs:complexType name="outcomes_processingType">\r
1218                 <xs:sequence>\r
1219                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1220                         <xs:element name="outcomes" type="outcomesType" />\r
1221                         <xs:element name="objects_condition" type="objects_conditionType" minOccurs="0" maxOccurs="unbounded" />\r
1222                         <xs:element name="processing_parameter" type="processing_parameterType" minOccurs="0" maxOccurs="unbounded" />\r
1223                         <xs:element name="map_output" type="map_outputType" minOccurs="0" maxOccurs="unbounded" />\r
1224                         <xs:element name="outcomes_feedback_test" type="outcomes_feedback_testType" minOccurs="0" maxOccurs="unbounded" />\r
1225                 </xs:sequence>\r
1226                 <xs:attribute name="scoremodel" type="xs:string" />\r
1227         </xs:complexType>\r
1228         <!-- ****************** -->\r
1229         <!-- ** presentation ** -->\r
1230         <!-- ****************** -->\r
1231         <xs:complexType name="presentationType">\r
1232                 <xs:sequence>\r
1233                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1234                         <xs:choice>\r
1235                                 <xs:element name="flow" type="flowType" />\r
1236                                 <xs:choice maxOccurs="unbounded">\r
1237                                         <xs:element name="material" type="materialType" />\r
1238                                         <xs:element name="response_lid" type="response_lidType" />\r
1239                                         <xs:element name="response_xy" type="response_xyType" />\r
1240                                         <xs:element name="response_str" type="response_strType" />\r
1241                                         <xs:element name="response_num" type="response_numType" />\r
1242                                         <xs:element name="response_grp" type="response_grpType" />\r
1243                                         <xs:element ref="response_extension" />\r
1244                                 </xs:choice>\r
1245                         </xs:choice>\r
1246                 </xs:sequence>\r
1247                 <xs:attribute name="label" type="xs:string" />\r
1248                 <xs:attribute ref="xml:lang" />\r
1249                 <xs:attribute name="y0" type="xs:string" />\r
1250                 <xs:attribute name="x0" type="xs:string" />\r
1251                 <xs:attribute name="width" type="xs:string" />\r
1252                 <xs:attribute name="height" type="xs:string" />\r
1253         </xs:complexType>\r
1254         <!-- *************************** -->\r
1255         <!-- ** presentation_material ** -->\r
1256         <!-- *************************** -->\r
1257         <xs:complexType name="presentation_materialType">\r
1258                 <xs:sequence>\r
1259                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1260                         <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
1261                 </xs:sequence>\r
1262         </xs:complexType>\r
1263         <!-- ************************** -->\r
1264         <!-- ** processing_parameter ** -->\r
1265         <!-- ************************** -->\r
1266         <xs:complexType name="processing_parameterType">\r
1267                 <xs:simpleContent>\r
1268                         <xs:extension base="xs:string">\r
1269                                 <xs:attribute name="pname" type="xs:string" use="required" />\r
1270                         </xs:extension>\r
1271                 </xs:simpleContent>\r
1272         </xs:complexType>\r
1273         <!-- **************** -->\r
1274         <!-- ** qticomment ** -->\r
1275         <!-- **************** -->\r
1276         <xs:complexType name="qticommentType">\r
1277                 <xs:simpleContent>\r
1278                         <xs:extension base="xs:string">\r
1279                                 <xs:attribute ref="xml:lang" />\r
1280                         </xs:extension>\r
1281                 </xs:simpleContent>\r
1282         </xs:complexType>\r
1283         <!-- ***************** -->\r
1284         <!-- ** qtimetadata ** -->\r
1285         <!-- ***************** -->\r
1286         <xs:complexType name="qtimetadataType">\r
1287                 <xs:sequence>\r
1288                         <xs:element name="vocabulary" type="vocabularyType" minOccurs="0" />\r
1289                         <xs:element name="qtimetadatafield" type="qtimetadatafieldType" maxOccurs="unbounded" />\r
1290                 </xs:sequence>\r
1291         </xs:complexType>\r
1292         <!-- ********************** -->\r
1293         <!-- ** qtimetadatafield ** -->\r
1294         <!-- ********************** -->\r
1295         <xs:complexType name="qtimetadatafieldType">\r
1296                 <xs:sequence>\r
1297                         <xs:element ref="fieldlabel" />\r
1298                         <xs:element ref="fieldentry" />\r
1299                 </xs:sequence>\r
1300                 <xs:attribute ref="xml:lang" />\r
1301         </xs:complexType>\r
1302         <!-- ********************* -->\r
1303         <!-- ** questestinterop ** -->\r
1304         <!-- ********************* -->\r
1305         <xs:complexType name="questestinteropType">\r
1306                 <xs:sequence>\r
1307                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1308                         <xs:choice>\r
1309                                 <xs:element name="objectbank" type="objectbankType" />\r
1310                                 <xs:element name="assessment" type="assessmentType" />\r
1311                                 <xs:choice maxOccurs="unbounded">\r
1312                                         <xs:element name="section" type="sectionType" />\r
1313                                         <xs:element name="item" type="itemType" />\r
1314                                 </xs:choice>\r
1315                         </xs:choice>\r
1316                 </xs:sequence>\r
1317         </xs:complexType>\r
1318         <!-- *************** -->\r
1319         <!-- ** reference ** -->\r
1320         <!-- *************** -->\r
1321         <xs:complexType name="referenceType">\r
1322                 <xs:choice maxOccurs="unbounded">\r
1323                         <xs:element name="qticomment" type="qticommentType" />\r
1324                         <xs:element name="material" type="materialType" />\r
1325                         <xs:element name="mattext" type="mattextType" />\r
1326                         <xs:element name="matemtext" type="matemtextType" />\r
1327                         <xs:element name="matimage" type="matimageType" />\r
1328                         <xs:element name="mataudio" type="mataudioType" />\r
1329                         <xs:element name="matvideo" type="matvideoType" />\r
1330                         <xs:element name="matapplet" type="matappletType" />\r
1331                         <xs:element name="matapplication" type="matapplicationType" />\r
1332                         <xs:element ref="matbreak" />\r
1333                         <xs:element ref="mat_extension" />\r
1334                 </xs:choice>\r
1335         </xs:complexType>\r
1336         <!-- ******************* -->\r
1337         <!-- ** render_choice ** -->\r
1338         <!-- ******************* -->\r
1339         <xs:complexType name="render_choiceType">\r
1340                 <xs:sequence>\r
1341                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1342                                 <xs:element name="material" type="materialType" />\r
1343                                 <xs:element name="material_ref" type="material_refType" />\r
1344                                 <xs:element name="response_label" type="response_labelType" />\r
1345                                 <xs:element name="flow_label" type="flow_labelType" />\r
1346                         </xs:choice>\r
1347                         <xs:element ref="response_na" minOccurs="0" />\r
1348                 </xs:sequence>\r
1349                 <xs:attribute name="shuffle" default="No">\r
1350                         <xs:simpleType>\r
1351                                 <xs:restriction base="xs:NMTOKEN">\r
1352                                         <xs:enumeration value="Yes" />\r
1353                                         <xs:enumeration value="No" />\r
1354                                 </xs:restriction>\r
1355                         </xs:simpleType>\r
1356                 </xs:attribute>\r
1357                 <xs:attribute name="minnumber" type="xs:string" />\r
1358                 <xs:attribute name="maxnumber" type="xs:string" />\r
1359         </xs:complexType>\r
1360         <!-- ********************** -->\r
1361         <!-- ** render_extension ** -->\r
1362         <!-- ********************** -->\r
1363         <xs:complexType name="render_extensionType" mixed="true">\r
1364                 <xs:sequence>\r
1365                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1366                 </xs:sequence>\r
1367                 <xs:anyAttribute processContents="lax" />\r
1368         </xs:complexType>\r
1369         <!-- **************** -->\r
1370         <!-- ** render_fib ** -->\r
1371         <!-- **************** -->\r
1372         <xs:complexType name="render_fibType">\r
1373                 <xs:sequence>\r
1374                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1375                                 <xs:element name="material" type="materialType" />\r
1376                                 <xs:element name="material_ref" type="material_refType" />\r
1377                                 <xs:element name="response_label" type="response_labelType" />\r
1378                                 <xs:element name="flow_label" type="flow_labelType" />\r
1379                         </xs:choice>\r
1380                         <xs:element ref="response_na" minOccurs="0" />\r
1381                 </xs:sequence>\r
1382                 <xs:attribute name="encoding" type="xs:string" default="UTF_8" />\r
1383                 <xs:attribute name="fibtype" default="String">\r
1384                         <xs:simpleType>\r
1385                                 <xs:restriction base="xs:NMTOKEN">\r
1386                                         <xs:enumeration value="String" />\r
1387                                         <xs:enumeration value="Integer" />\r
1388                                         <xs:enumeration value="Decimal" />\r
1389                                         <xs:enumeration value="Scientific" />\r
1390                                 </xs:restriction>\r
1391                         </xs:simpleType>\r
1392                 </xs:attribute>\r
1393                 <xs:attribute name="rows" type="xs:string" />\r
1394                 <xs:attribute name="maxchars" type="xs:string" />\r
1395                 <xs:attribute name="prompt">\r
1396                         <xs:simpleType>\r
1397                                 <xs:restriction base="xs:NMTOKEN">\r
1398                                         <xs:enumeration value="Box" />\r
1399                                         <xs:enumeration value="Dashline" />\r
1400                                         <xs:enumeration value="Asterisk" />\r
1401                                         <xs:enumeration value="Underline" />\r
1402                                 </xs:restriction>\r
1403                         </xs:simpleType>\r
1404                 </xs:attribute>\r
1405                 <xs:attribute name="columns" type="xs:string" />\r
1406                 <xs:attribute name="charset" type="xs:string" default="ascii-us" />\r
1407                 <xs:attribute name="maxnumber" type="xs:string" />\r
1408                 <xs:attribute name="minnumber" type="xs:string" />\r
1409         </xs:complexType>\r
1410         <!-- ******************** -->\r
1411         <!-- ** render_hotspot ** -->\r
1412         <!-- ******************** -->\r
1413         <xs:complexType name="render_hotspotType">\r
1414                 <xs:sequence>\r
1415                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1416                                 <xs:element name="material" type="materialType" />\r
1417                                 <xs:element name="material_ref" type="material_refType" />\r
1418                                 <xs:element name="response_label" type="response_labelType" />\r
1419                                 <xs:element name="flow_label" type="flow_labelType" />\r
1420                         </xs:choice>\r
1421                         <xs:element ref="response_na" minOccurs="0" />\r
1422                 </xs:sequence>\r
1423                 <xs:attribute name="maxnumber" type="xs:string" />\r
1424                 <xs:attribute name="minnumber" type="xs:string" />\r
1425                 <xs:attribute name="showdraw" default="No">\r
1426                         <xs:simpleType>\r
1427                                 <xs:restriction base="xs:NMTOKEN">\r
1428                                         <xs:enumeration value="Yes" />\r
1429                                         <xs:enumeration value="No" />\r
1430                                 </xs:restriction>\r
1431                         </xs:simpleType>\r
1432                 </xs:attribute>\r
1433         </xs:complexType>\r
1434         <!-- ******************* -->\r
1435         <!-- ** render_slider ** -->\r
1436         <!-- ******************* -->\r
1437         <xs:complexType name="render_sliderType">\r
1438                 <xs:sequence>\r
1439                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1440                                 <xs:element name="material" type="materialType" />\r
1441                                 <xs:element name="material_ref" type="material_refType" />\r
1442                                 <xs:element name="response_label" type="response_labelType" />\r
1443                                 <xs:element name="flow_label" type="flow_labelType" />\r
1444                         </xs:choice>\r
1445                         <xs:element ref="response_na" minOccurs="0" />\r
1446                 </xs:sequence>\r
1447                 <xs:attribute name="orientation" default="Horizontal">\r
1448                         <xs:simpleType>\r
1449                                 <xs:restriction base="xs:NMTOKEN">\r
1450                                         <xs:enumeration value="Horizontal" />\r
1451                                         <xs:enumeration value="Vertical" />\r
1452                                 </xs:restriction>\r
1453                         </xs:simpleType>\r
1454                 </xs:attribute>\r
1455                 <xs:attribute name="lowerbound" type="xs:string" use="required" />\r
1456                 <xs:attribute name="upperbound" type="xs:string" use="required" />\r
1457                 <xs:attribute name="step" type="xs:string" />\r
1458                 <xs:attribute name="startval" type="xs:string" />\r
1459                 <xs:attribute name="steplabel" default="No">\r
1460                         <xs:simpleType>\r
1461                                 <xs:restriction base="xs:NMTOKEN">\r
1462                                         <xs:enumeration value="Yes" />\r
1463                                         <xs:enumeration value="No" />\r
1464                                 </xs:restriction>\r
1465                         </xs:simpleType>\r
1466                 </xs:attribute>\r
1467                 <xs:attribute name="maxnumber" type="xs:string" />\r
1468                 <xs:attribute name="minnumber" type="xs:string" />\r
1469         </xs:complexType>\r
1470         <!-- ************************ -->\r
1471         <!-- ** respcond_extension ** -->\r
1472         <!-- ************************ -->\r
1473         <xs:complexType name="respcond_extensionType" mixed="true">\r
1474                 <xs:sequence>\r
1475                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1476                 </xs:sequence>\r
1477                 <xs:anyAttribute processContents="lax" />\r
1478         </xs:complexType>\r
1479         <!-- ******************* -->\r
1480         <!-- ** respcondition ** -->\r
1481         <!-- ******************* -->\r
1482         <xs:complexType name="respconditionType">\r
1483                 <xs:sequence>\r
1484                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1485                         <xs:element name="conditionvar" type="conditionvarType" />\r
1486                         <xs:element name="setvar" type="setvarType" minOccurs="0" maxOccurs="unbounded" />\r
1487                         <xs:element name="displayfeedback" type="displayfeedbackType" minOccurs="0" maxOccurs="unbounded" />\r
1488                         <xs:element ref="respcond_extension" minOccurs="0" />\r
1489                 </xs:sequence>\r
1490                 <xs:attribute name="continue" default="No">\r
1491                         <xs:simpleType>\r
1492                                 <xs:restriction base="xs:NMTOKEN">\r
1493                                         <xs:enumeration value="Yes" />\r
1494                                         <xs:enumeration value="No" />\r
1495                                 </xs:restriction>\r
1496                         </xs:simpleType>\r
1497                 </xs:attribute>\r
1498                 <xs:attribute name="title" type="xs:string" />\r
1499         </xs:complexType>\r
1500         <!-- ************************ -->\r
1501         <!-- ** response_extension ** -->\r
1502         <!-- ************************ -->\r
1503         <xs:complexType name="response_extensionType" mixed="true">\r
1504                 <xs:sequence>\r
1505                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1506                 </xs:sequence>\r
1507                 <xs:anyAttribute processContents="lax" />\r
1508         </xs:complexType>\r
1509         <!-- ****************** -->\r
1510         <!-- ** response_grp ** -->\r
1511         <!-- ****************** -->\r
1512         <xs:complexType name="response_grpType">\r
1513                 <xs:sequence>\r
1514                         <xs:choice minOccurs="0">\r
1515                                 <xs:element name="material" type="materialType" />\r
1516                                 <xs:element name="material_ref" type="material_refType" />\r
1517                         </xs:choice>\r
1518                         <xs:choice>\r
1519                                 <xs:element name="render_choice" type="render_choiceType" />\r
1520                                 <xs:element name="render_hotspot" type="render_hotspotType" />\r
1521                                 <xs:element name="render_slider" type="render_sliderType" />\r
1522                                 <xs:element name="render_fib" type="render_fibType" />\r
1523                                 <xs:element ref="render_extension" />\r
1524                         </xs:choice>\r
1525                         <xs:choice minOccurs="0">\r
1526                                 <xs:element name="material" type="materialType" />\r
1527                                 <xs:element name="material_ref" type="material_refType" />\r
1528                         </xs:choice>\r
1529                 </xs:sequence>\r
1530                 <xs:attribute name="rcardinality" default="Single">\r
1531                         <xs:simpleType>\r
1532                                 <xs:restriction base="xs:NMTOKEN">\r
1533                                         <xs:enumeration value="Single" />\r
1534                                         <xs:enumeration value="Multiple" />\r
1535                                         <xs:enumeration value="Ordered" />\r
1536                                 </xs:restriction>\r
1537                         </xs:simpleType>\r
1538                 </xs:attribute>\r
1539                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1540                 <xs:attribute name="rtiming" default="No">\r
1541                         <xs:simpleType>\r
1542                                 <xs:restriction base="xs:NMTOKEN">\r
1543                                         <xs:enumeration value="Yes" />\r
1544                                         <xs:enumeration value="No" />\r
1545                                 </xs:restriction>\r
1546                         </xs:simpleType>\r
1547                 </xs:attribute>\r
1548         </xs:complexType>\r
1549         <!-- ************************ -->\r
1550         <!-- ** response_lableType ** -->\r
1551         <!-- ************************ -->\r
1552         <xs:complexType name="response_labelType" mixed="true">\r
1553                 <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1554                         <xs:element name="qticomment" type="qticommentType" />\r
1555                         <xs:element name="material" type="materialType" />\r
1556                         <xs:element name="material_ref" type="material_refType" />\r
1557                         <xs:element name="flow_mat" type="flow_matType" />\r
1558                 </xs:choice>\r
1559                 <xs:attribute name="rshuffle" default="Yes">\r
1560                         <xs:simpleType>\r
1561                                 <xs:restriction base="xs:NMTOKEN">\r
1562                                         <xs:enumeration value="Yes" />\r
1563                                         <xs:enumeration value="No" />\r
1564                                 </xs:restriction>\r
1565                         </xs:simpleType>\r
1566                 </xs:attribute>\r
1567                 <xs:attribute name="rarea" default="Ellipse">\r
1568                         <xs:simpleType>\r
1569                                 <xs:restriction base="xs:NMTOKEN">\r
1570                                         <xs:enumeration value="Ellipse" />\r
1571                                         <xs:enumeration value="Rectangle" />\r
1572                                         <xs:enumeration value="Bounded" />\r
1573                                 </xs:restriction>\r
1574                         </xs:simpleType>\r
1575                 </xs:attribute>\r
1576                 <xs:attribute name="rrange" default="Exact">\r
1577                         <xs:simpleType>\r
1578                                 <xs:restriction base="xs:NMTOKEN">\r
1579                                         <xs:enumeration value="Exact" />\r
1580                                         <xs:enumeration value="Range" />\r
1581                                 </xs:restriction>\r
1582                         </xs:simpleType>\r
1583                 </xs:attribute>\r
1584                 <xs:attribute name="labelrefid" type="xs:string" />\r
1585                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1586                 <xs:attribute name="match_group" type="xs:string" />\r
1587                 <xs:attribute name="match_max" type="xs:string" />\r
1588         </xs:complexType>\r
1589         <!-- ****************** -->\r
1590         <!-- ** response_lid ** -->\r
1591         <!-- ****************** -->\r
1592         <xs:complexType name="response_lidType">\r
1593                 <xs:sequence>\r
1594                         <xs:choice minOccurs="0">\r
1595                                 <xs:element name="material" type="materialType" />\r
1596                                 <xs:element name="material_ref" type="material_refType" />\r
1597                         </xs:choice>\r
1598                         <xs:choice>\r
1599                                 <xs:element name="render_choice" type="render_choiceType" />\r
1600                                 <xs:element name="render_hotspot" type="render_hotspotType" />\r
1601                                 <xs:element name="render_slider" type="render_sliderType" />\r
1602                                 <xs:element name="render_fib" type="render_fibType" />\r
1603                                 <xs:element ref="render_extension" />\r
1604                         </xs:choice>\r
1605                         <xs:choice minOccurs="0">\r
1606                                 <xs:element name="material" type="materialType" />\r
1607                                 <xs:element name="material_ref" type="material_refType" />\r
1608                         </xs:choice>\r
1609                 </xs:sequence>\r
1610                 <xs:attribute name="rcardinality" default="Single">\r
1611                         <xs:simpleType>\r
1612                                 <xs:restriction base="xs:NMTOKEN">\r
1613                                         <xs:enumeration value="Single" />\r
1614                                         <xs:enumeration value="Multiple" />\r
1615                                         <xs:enumeration value="Ordered" />\r
1616                                 </xs:restriction>\r
1617                         </xs:simpleType>\r
1618                 </xs:attribute>\r
1619                 <xs:attribute name="rtiming" default="No">\r
1620                         <xs:simpleType>\r
1621                                 <xs:restriction base="xs:NMTOKEN">\r
1622                                         <xs:enumeration value="Yes" />\r
1623                                         <xs:enumeration value="No" />\r
1624                                 </xs:restriction>\r
1625                         </xs:simpleType>\r
1626                 </xs:attribute>\r
1627                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1628         </xs:complexType>\r
1629         <!-- ***************** -->\r
1630         <!-- ** response_na ** -->\r
1631         <!-- ***************** -->\r
1632         <xs:complexType name="response_naType" />\r
1633         <!-- ****************** -->\r
1634         <!-- ** response_num ** -->\r
1635         <!-- ****************** -->\r
1636         <xs:complexType name="response_numType">\r
1637                 <xs:sequence>\r
1638                         <xs:choice minOccurs="0">\r
1639                                 <xs:element name="material" type="materialType" />\r
1640                                 <xs:element name="material_ref" type="material_refType" />\r
1641                         </xs:choice>\r
1642                         <xs:choice>\r
1643                                 <xs:element name="render_choice" type="render_choiceType" />\r
1644                                 <xs:element name="render_hotspot" type="render_hotspotType" />\r
1645                                 <xs:element name="render_slider" type="render_sliderType" />\r
1646                                 <xs:element name="render_fib" type="render_fibType" />\r
1647                                 <xs:element ref="render_extension" />\r
1648                         </xs:choice>\r
1649                         <xs:choice minOccurs="0">\r
1650                                 <xs:element name="material" type="materialType" />\r
1651                                 <xs:element name="material_ref" type="material_refType" />\r
1652                         </xs:choice>\r
1653                 </xs:sequence>\r
1654                 <xs:attribute name="numtype" default="Integer">\r
1655                         <xs:simpleType>\r
1656                                 <xs:restriction base="xs:NMTOKEN">\r
1657                                         <xs:enumeration value="Integer" />\r
1658                                         <xs:enumeration value="Decimal" />\r
1659                                         <xs:enumeration value="Scientific" />\r
1660                                 </xs:restriction>\r
1661                         </xs:simpleType>\r
1662                 </xs:attribute>\r
1663                 <xs:attribute name="rcardinality" default="Single">\r
1664                         <xs:simpleType>\r
1665                                 <xs:restriction base="xs:NMTOKEN">\r
1666                                         <xs:enumeration value="Single" />\r
1667                                         <xs:enumeration value="Multiple" />\r
1668                                         <xs:enumeration value="Ordered" />\r
1669                                 </xs:restriction>\r
1670                         </xs:simpleType>\r
1671                 </xs:attribute>\r
1672                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1673                 <xs:attribute name="rtiming" default="No">\r
1674                         <xs:simpleType>\r
1675                                 <xs:restriction base="xs:NMTOKEN">\r
1676                                         <xs:enumeration value="Yes" />\r
1677                                         <xs:enumeration value="No" />\r
1678                                 </xs:restriction>\r
1679                         </xs:simpleType>\r
1680                 </xs:attribute>\r
1681         </xs:complexType>\r
1682         <!-- ****************** -->\r
1683         <!-- ** response_str ** -->\r
1684         <!-- ****************** -->\r
1685         <xs:complexType name="response_strType">\r
1686                 <xs:sequence>\r
1687                         <xs:choice minOccurs="0">\r
1688                                 <xs:element name="material" type="materialType" />\r
1689                                 <xs:element name="material_ref" type="material_refType" />\r
1690                         </xs:choice>\r
1691                         <xs:choice>\r
1692                                 <xs:element name="render_choice" type="render_choiceType" />\r
1693                                 <xs:element name="render_hotspot" type="render_hotspotType" />\r
1694                                 <xs:element name="render_slider" type="render_sliderType" />\r
1695                                 <xs:element name="render_fib" type="render_fibType" />\r
1696                                 <xs:element ref="render_extension" />\r
1697                         </xs:choice>\r
1698                         <xs:choice minOccurs="0">\r
1699                                 <xs:element name="material" type="materialType" />\r
1700                                 <xs:element name="material_ref" type="material_refType" />\r
1701                         </xs:choice>\r
1702                 </xs:sequence>\r
1703                 <xs:attribute name="rcardinality" default="Single">\r
1704                         <xs:simpleType>\r
1705                                 <xs:restriction base="xs:NMTOKEN">\r
1706                                         <xs:enumeration value="Single" />\r
1707                                         <xs:enumeration value="Multiple" />\r
1708                                         <xs:enumeration value="Ordered" />\r
1709                                 </xs:restriction>\r
1710                         </xs:simpleType>\r
1711                 </xs:attribute>\r
1712                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1713                 <xs:attribute name="rtiming" default="No">\r
1714                         <xs:simpleType>\r
1715                                 <xs:restriction base="xs:NMTOKEN">\r
1716                                         <xs:enumeration value="Yes" />\r
1717                                         <xs:enumeration value="No" />\r
1718                                 </xs:restriction>\r
1719                         </xs:simpleType>\r
1720                 </xs:attribute>\r
1721         </xs:complexType>\r
1722         <!-- ***************** -->\r
1723         <!-- ** response_xy ** -->\r
1724         <!-- ***************** -->\r
1725         <xs:complexType name="response_xyType">\r
1726                 <xs:sequence>\r
1727                         <xs:choice minOccurs="0">\r
1728                                 <xs:element name="material" type="materialType" />\r
1729                                 <xs:element name="material_ref" type="material_refType" />\r
1730                         </xs:choice>\r
1731                         <xs:choice>\r
1732                                 <xs:element name="render_choice" type="render_choiceType" />\r
1733                                 <xs:element name="render_hotspot" type="render_hotspotType" />\r
1734                                 <xs:element name="render_slider" type="render_sliderType" />\r
1735                                 <xs:element name="render_fib" type="render_fibType" />\r
1736                                 <xs:element ref="render_extension" />\r
1737                         </xs:choice>\r
1738                         <xs:choice minOccurs="0">\r
1739                                 <xs:element name="material" type="materialType" />\r
1740                                 <xs:element name="material_ref" type="material_refType" />\r
1741                         </xs:choice>\r
1742                 </xs:sequence>\r
1743                 <xs:attribute name="rcardinality" default="Single">\r
1744                         <xs:simpleType>\r
1745                                 <xs:restriction base="xs:NMTOKEN">\r
1746                                         <xs:enumeration value="Single" />\r
1747                                         <xs:enumeration value="Multiple" />\r
1748                                         <xs:enumeration value="Ordered" />\r
1749                                 </xs:restriction>\r
1750                         </xs:simpleType>\r
1751                 </xs:attribute>\r
1752                 <xs:attribute name="rtiming" default="No">\r
1753                         <xs:simpleType>\r
1754                                 <xs:restriction base="xs:NMTOKEN">\r
1755                                         <xs:enumeration value="Yes" />\r
1756                                         <xs:enumeration value="No" />\r
1757                                 </xs:restriction>\r
1758                         </xs:simpleType>\r
1759                 </xs:attribute>\r
1760                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1761         </xs:complexType>\r
1762         <!-- ******************* -->\r
1763         <!-- ** resprocessing ** -->\r
1764         <!-- ******************* -->\r
1765         <xs:complexType name="resprocessingType">\r
1766                 <xs:sequence>\r
1767                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1768                         <xs:element name="outcomes" type="outcomesType" />\r
1769                         <xs:choice maxOccurs="unbounded">\r
1770                                 <xs:element name="respcondition" type="respconditionType" />\r
1771                                 <xs:element ref="itemproc_extension" />\r
1772                         </xs:choice>\r
1773                 </xs:sequence>\r
1774                 <xs:attribute name="scoremodel" type="xs:string" />\r
1775         </xs:complexType>\r
1776         <!-- ************ -->\r
1777         <!-- ** rubric ** -->\r
1778         <!-- ************ -->\r
1779         <xs:complexType name="rubricType">\r
1780                 <xs:sequence>\r
1781                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1782                         <xs:choice>\r
1783                                 <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
1784                                 <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
1785                         </xs:choice>\r
1786                 </xs:sequence>\r
1787                 <xs:attribute name="view" default="All">\r
1788                         <xs:simpleType>\r
1789                                 <xs:restriction base="xs:NMTOKEN">\r
1790                                         <xs:enumeration value="All" />\r
1791                                         <xs:enumeration value="Administrator" />\r
1792                                         <xs:enumeration value="AdminAuthority" />\r
1793                                         <xs:enumeration value="Assessor" />\r
1794                                         <xs:enumeration value="Author" />\r
1795                                         <xs:enumeration value="Candidate" />\r
1796                                         <xs:enumeration value="InvigilatorProctor" />\r
1797                                         <xs:enumeration value="Psychometrician" />\r
1798                                         <xs:enumeration value="Scorer" />\r
1799                                         <xs:enumeration value="Tutor" />\r
1800                                 </xs:restriction>\r
1801                         </xs:simpleType>\r
1802                 </xs:attribute>\r
1803         </xs:complexType>\r
1804         <!-- ************* -->\r
1805         <!-- ** section ** -->\r
1806         <!-- ************* -->\r
1807         <xs:complexType name="sectionType">\r
1808                 <xs:sequence>\r
1809                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1810                         <xs:element ref="duration" minOccurs="0" />\r
1811                         <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded" />\r
1812                         <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded" />\r
1813                         <xs:element name="sectioncontrol" type="sectioncontrolType" minOccurs="0" maxOccurs="unbounded" />\r
1814                         <xs:element ref="sectionprecondition" minOccurs="0" maxOccurs="unbounded" />\r
1815                         <xs:element ref="sectionpostcondition" minOccurs="0" maxOccurs="unbounded" />\r
1816                         <xs:element name="rubric" type="rubricType" minOccurs="0" maxOccurs="unbounded" />\r
1817                         <xs:element name="presentation_material" type="presentation_materialType" minOccurs="0" />\r
1818                         <xs:element name="outcomes_processing" type="outcomes_processingType" minOccurs="0" maxOccurs="unbounded" />\r
1819                         <xs:element ref="sectionproc_extension" minOccurs="0" />\r
1820                         <xs:element name="sectionfeedback" type="sectionfeedbackType" minOccurs="0" maxOccurs="unbounded" />\r
1821                         <xs:element name="selection_ordering" type="selection_orderingType" minOccurs="0" />\r
1822                         <xs:element name="reference" type="referenceType" minOccurs="0" />\r
1823                         <xs:choice minOccurs="0" maxOccurs="unbounded">\r
1824                                 <xs:element name="itemref" type="itemrefType" />\r
1825                                 <xs:element name="item" type="itemType" />\r
1826                                 <xs:element name="sectionref" type="sectionrefType" />\r
1827                                 <xs:element name="section" type="sectionType" />\r
1828                         </xs:choice>\r
1829                 </xs:sequence>\r
1830                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1831                 <xs:attribute name="title" type="xs:string" />\r
1832                 <xs:attribute ref="xml:lang" />\r
1833         </xs:complexType>\r
1834         <!-- ******************** -->\r
1835         <!-- ** sectioncontrol ** -->\r
1836         <!-- ******************** -->\r
1837         <xs:complexType name="sectioncontrolType">\r
1838                 <xs:sequence>\r
1839                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1840                 </xs:sequence>\r
1841                 <xs:attribute name="feedbackswitch" default="Yes">\r
1842                         <xs:simpleType>\r
1843                                 <xs:restriction base="xs:NMTOKEN">\r
1844                                         <xs:enumeration value="Yes" />\r
1845                                         <xs:enumeration value="No" />\r
1846                                 </xs:restriction>\r
1847                         </xs:simpleType>\r
1848                 </xs:attribute>\r
1849                 <xs:attribute name="hintswitch" default="Yes">\r
1850                         <xs:simpleType>\r
1851                                 <xs:restriction base="xs:NMTOKEN">\r
1852                                         <xs:enumeration value="Yes" />\r
1853                                         <xs:enumeration value="No" />\r
1854                                 </xs:restriction>\r
1855                         </xs:simpleType>\r
1856                 </xs:attribute>\r
1857                 <xs:attribute name="solutionswitch" default="Yes">\r
1858                         <xs:simpleType>\r
1859                                 <xs:restriction base="xs:NMTOKEN">\r
1860                                         <xs:enumeration value="Yes" />\r
1861                                         <xs:enumeration value="No" />\r
1862                                 </xs:restriction>\r
1863                         </xs:simpleType>\r
1864                 </xs:attribute>\r
1865                 <xs:attribute name="view" default="All">\r
1866                         <xs:simpleType>\r
1867                                 <xs:restriction base="xs:NMTOKEN">\r
1868                                         <xs:enumeration value="All" />\r
1869                                         <xs:enumeration value="Administrator" />\r
1870                                         <xs:enumeration value="AdminAuthority" />\r
1871                                         <xs:enumeration value="Assessor" />\r
1872                                         <xs:enumeration value="Author" />\r
1873                                         <xs:enumeration value="Candidate" />\r
1874                                         <xs:enumeration value="InvigilatorProctor" />\r
1875                                         <xs:enumeration value="Psychometrician" />\r
1876                                         <xs:enumeration value="Scorer" />\r
1877                                         <xs:enumeration value="Tutor" />\r
1878                                 </xs:restriction>\r
1879                         </xs:simpleType>\r
1880                 </xs:attribute>\r
1881         </xs:complexType>\r
1882         <!-- ********************* -->\r
1883         <!-- ** sectionfeedback ** -->\r
1884         <!-- ********************* -->\r
1885         <xs:complexType name="sectionfeedbackType">\r
1886                 <xs:sequence>\r
1887                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1888                         <xs:choice>\r
1889                                 <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
1890                                 <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
1891                         </xs:choice>\r
1892                 </xs:sequence>\r
1893                 <xs:attribute name="view" default="All">\r
1894                         <xs:simpleType>\r
1895                                 <xs:restriction base="xs:NMTOKEN">\r
1896                                         <xs:enumeration value="All" />\r
1897                                         <xs:enumeration value="Administrator" />\r
1898                                         <xs:enumeration value="AdminAuthority" />\r
1899                                         <xs:enumeration value="Assessor" />\r
1900                                         <xs:enumeration value="Author" />\r
1901                                         <xs:enumeration value="Candidate" />\r
1902                                         <xs:enumeration value="InvigilatorProctor" />\r
1903                                         <xs:enumeration value="Psychometrician" />\r
1904                                         <xs:enumeration value="Scorer" />\r
1905                                         <xs:enumeration value="Tutor" />\r
1906                                 </xs:restriction>\r
1907                         </xs:simpleType>\r
1908                 </xs:attribute>\r
1909                 <xs:attribute name="ident" type="xs:string" use="required" />\r
1910                 <xs:attribute name="title" type="xs:string" />\r
1911         </xs:complexType>\r
1912         <!-- *************************** -->\r
1913         <!-- ** sectionproc_extension ** -->\r
1914         <!-- *************************** -->\r
1915         <xs:complexType name="sectionproc_extensionType" mixed="true">\r
1916                 <xs:sequence>\r
1917                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1918                 </xs:sequence>\r
1919                 <xs:anyAttribute processContents="lax" />\r
1920         </xs:complexType>\r
1921         <!-- **************** -->\r
1922         <!-- ** sectionref ** -->\r
1923         <!-- **************** -->\r
1924         <xs:complexType name="sectionrefType">\r
1925                 <xs:simpleContent>\r
1926                         <xs:extension base="xs:string">\r
1927                                 <xs:attribute name="linkrefid" type="xs:string" use="required" />\r
1928                         </xs:extension>\r
1929                 </xs:simpleContent>\r
1930         </xs:complexType>\r
1931         <!-- *************** -->\r
1932         <!-- ** selection ** -->\r
1933         <!-- *************** -->\r
1934         <xs:complexType name="selectionType">\r
1935                 <xs:sequence>\r
1936                         <xs:element ref="sourcebank_ref" minOccurs="0" />\r
1937                         <xs:element ref="selection_number" minOccurs="0" />\r
1938                         <xs:element name="selection_metadata" type="selection_metadataType" minOccurs="0" />\r
1939                         <xs:choice minOccurs="0">\r
1940                                 <xs:element name="and_selection" type="and_selectionType" />\r
1941                                 <xs:element name="or_selection" type="or_selectionType" />\r
1942                                 <xs:element name="not_selection" type="not_selectionType" />\r
1943                                 <xs:element ref="selection_extension" />\r
1944                         </xs:choice>\r
1945                 </xs:sequence>\r
1946         </xs:complexType>\r
1947         <!-- ************************* -->\r
1948         <!-- ** selection_extension ** -->\r
1949         <!-- ************************* -->\r
1950         <xs:complexType name="selection_extensionType" mixed="true">\r
1951                 <xs:sequence>\r
1952                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
1953                 </xs:sequence>\r
1954                 <xs:anyAttribute processContents="lax" />\r
1955         </xs:complexType>\r
1956         <!-- ************************ -->\r
1957         <!-- ** selection_metadata ** -->\r
1958         <!-- ************************ -->\r
1959         <xs:complexType name="selection_metadataType">\r
1960                 <xs:simpleContent>\r
1961                         <xs:extension base="xs:string">\r
1962                                 <xs:attribute name="mdname" type="xs:string" use="required" />\r
1963                                 <xs:attribute name="mdoperator" use="required">\r
1964                                         <xs:simpleType>\r
1965                                                 <xs:restriction base="xs:NMTOKEN">\r
1966                                                         <xs:enumeration value="EQ" />\r
1967                                                         <xs:enumeration value="NEQ" />\r
1968                                                         <xs:enumeration value="LT" />\r
1969                                                         <xs:enumeration value="LTE" />\r
1970                                                         <xs:enumeration value="GT" />\r
1971                                                         <xs:enumeration value="GTE" />\r
1972                                                 </xs:restriction>\r
1973                                         </xs:simpleType>\r
1974                                 </xs:attribute>\r
1975                         </xs:extension>\r
1976                 </xs:simpleContent>\r
1977         </xs:complexType>\r
1978         <!-- ************************ -->\r
1979         <!-- ** selection_ordering ** -->\r
1980         <!-- ************************ -->\r
1981         <xs:complexType name="selection_orderingType">\r
1982                 <xs:sequence>\r
1983                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
1984                         <xs:element name="sequence_parameter" type="sequence_parameterType" minOccurs="0" />\r
1985                         <xs:element name="selection" type="selectionType" minOccurs="0" maxOccurs="unbounded" />\r
1986                         <xs:element name="order" type="orderType" minOccurs="0" />\r
1987                 </xs:sequence>\r
1988                 <xs:attribute name="sequence_type" type="xs:string" />\r
1989         </xs:complexType>\r
1990         <!-- ************************ -->\r
1991         <!-- ** sequence_parameter ** -->\r
1992         <!-- ************************ -->\r
1993         <xs:complexType name="sequence_parameterType">\r
1994                 <xs:simpleContent>\r
1995                         <xs:extension base="xs:string">\r
1996                                 <xs:attribute name="pname" type="xs:string" use="required" />\r
1997                         </xs:extension>\r
1998                 </xs:simpleContent>\r
1999         </xs:complexType>\r
2000         <!-- ************ -->\r
2001         <!-- ** setvar ** -->\r
2002         <!-- ************ -->\r
2003         <xs:complexType name="setvarType">\r
2004                 <xs:simpleContent>\r
2005                         <xs:extension base="xs:string">\r
2006                                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
2007                                 <xs:attribute name="action" default="Set">\r
2008                                         <xs:simpleType>\r
2009                                                 <xs:restriction base="xs:NMTOKEN">\r
2010                                                         <xs:enumeration value="Set" />\r
2011                                                         <xs:enumeration value="Add" />\r
2012                                                         <xs:enumeration value="Subtract" />\r
2013                                                         <xs:enumeration value="Multiply" />\r
2014                                                         <xs:enumeration value="Divide" />\r
2015                                                 </xs:restriction>\r
2016                                         </xs:simpleType>\r
2017                                 </xs:attribute>\r
2018                         </xs:extension>\r
2019                 </xs:simpleContent>\r
2020         </xs:complexType>\r
2021         <!-- ************** -->\r
2022         <!-- ** solution ** -->\r
2023         <!-- ************** -->\r
2024         <xs:complexType name="solutionType">\r
2025                 <xs:sequence>\r
2026                         <xs:element name="qticomment" type="qticommentType" minOccurs="0" />\r
2027                         <xs:element name="solutionmaterial" type="solutionmaterialType" maxOccurs="unbounded" />\r
2028                 </xs:sequence>\r
2029                 <xs:attribute name="feedbackstyle" default="Complete">\r
2030                         <xs:simpleType>\r
2031                                 <xs:restriction base="xs:NMTOKEN">\r
2032                                         <xs:enumeration value="Complete" />\r
2033                                         <xs:enumeration value="Incremental" />\r
2034                                         <xs:enumeration value="Multilevel" />\r
2035                                         <xs:enumeration value="Proprietary" />\r
2036                                 </xs:restriction>\r
2037                         </xs:simpleType>\r
2038                 </xs:attribute>\r
2039         </xs:complexType>\r
2040         <!-- ********************** -->\r
2041         <!-- ** solutionmaterial ** -->\r
2042         <!-- ********************** -->\r
2043         <xs:complexType name="solutionmaterialType">\r
2044                 <xs:choice>\r
2045                         <xs:element name="material" type="materialType" maxOccurs="unbounded" />\r
2046                         <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded" />\r
2047                 </xs:choice>\r
2048         </xs:complexType>\r
2049         <!-- ******************* -->\r
2050         <!-- ** test_variable ** -->\r
2051         <!-- ******************* -->\r
2052         <xs:complexType name="test_variableType">\r
2053                 <xs:choice>\r
2054                         <xs:element name="variable_test" type="variable_testType" />\r
2055                         <xs:element name="and_test" type="and_testType" />\r
2056                         <xs:element name="or_test" type="or_testType" />\r
2057                         <xs:element name="not_test" type="not_testType" />\r
2058                 </xs:choice>\r
2059         </xs:complexType>\r
2060         <!-- **************** -->\r
2061         <!-- ** unanswered ** -->\r
2062         <!-- **************** -->\r
2063         <xs:complexType name="unansweredType">\r
2064                 <xs:simpleContent>\r
2065                         <xs:extension base="xs:string">\r
2066                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2067                         </xs:extension>\r
2068                 </xs:simpleContent>\r
2069         </xs:complexType>\r
2070         <!-- ******************* -->\r
2071         <!-- ** var_extension ** -->\r
2072         <!-- ******************* -->\r
2073         <xs:complexType name="var_extensionType" mixed="true">\r
2074                 <xs:sequence>\r
2075                         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />\r
2076                 </xs:sequence>\r
2077                 <xs:anyAttribute processContents="lax" />\r
2078         </xs:complexType>\r
2079         <!-- ************** -->\r
2080         <!-- ** varequal ** -->\r
2081         <!-- ************** -->\r
2082         <xs:complexType name="varequalType">\r
2083                 <xs:simpleContent>\r
2084                         <xs:extension base="xs:string">\r
2085                                 <xs:attribute name="case" default="No">\r
2086                                         <xs:simpleType>\r
2087                                                 <xs:restriction base="xs:NMTOKEN">\r
2088                                                         <xs:enumeration value="Yes" />\r
2089                                                         <xs:enumeration value="No" />\r
2090                                                 </xs:restriction>\r
2091                                         </xs:simpleType>\r
2092                                 </xs:attribute>\r
2093                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2094                                 <xs:attribute name="index" type="xs:string" />\r
2095                         </xs:extension>\r
2096                 </xs:simpleContent>\r
2097         </xs:complexType>\r
2098         <!-- *********** -->\r
2099         <!-- ** vargt ** -->\r
2100         <!-- *********** -->\r
2101         <xs:complexType name="vargtType">\r
2102                 <xs:simpleContent>\r
2103                         <xs:extension base="xs:string">\r
2104                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2105                                 <xs:attribute name="index" type="xs:string" />\r
2106                         </xs:extension>\r
2107                 </xs:simpleContent>\r
2108         </xs:complexType>\r
2109         <!-- ************ -->\r
2110         <!-- ** vargte ** -->\r
2111         <!-- ************ -->\r
2112         <xs:complexType name="vargteType">\r
2113                 <xs:simpleContent>\r
2114                         <xs:extension base="xs:string">\r
2115                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2116                                 <xs:attribute name="index" type="xs:string" />\r
2117                         </xs:extension>\r
2118                 </xs:simpleContent>\r
2119         </xs:complexType>\r
2120         <!-- ******************* -->\r
2121         <!-- ** variable_test ** -->\r
2122         <!-- ******************* -->\r
2123         <xs:complexType name="variable_testType">\r
2124                 <xs:simpleContent>\r
2125                         <xs:extension base="xs:string">\r
2126                                 <xs:attribute name="varname" type="xs:string" default="SCORE" />\r
2127                                 <xs:attribute name="testoperator" use="required">\r
2128                                         <xs:simpleType>\r
2129                                                 <xs:restriction base="xs:NMTOKEN">\r
2130                                                         <xs:enumeration value="EQ" />\r
2131                                                         <xs:enumeration value="NEQ" />\r
2132                                                         <xs:enumeration value="LT" />\r
2133                                                         <xs:enumeration value="LTE" />\r
2134                                                         <xs:enumeration value="GT" />\r
2135                                                         <xs:enumeration value="GTE" />\r
2136                                                 </xs:restriction>\r
2137                                         </xs:simpleType>\r
2138                                 </xs:attribute>\r
2139                         </xs:extension>\r
2140                 </xs:simpleContent>\r
2141         </xs:complexType>\r
2142         <!-- *************** -->\r
2143         <!-- ** varinside ** -->\r
2144         <!-- *************** -->\r
2145         <xs:complexType name="varinsideType">\r
2146                 <xs:simpleContent>\r
2147                         <xs:extension base="xs:string">\r
2148                                 <xs:attribute name="areatype" use="required">\r
2149                                         <xs:simpleType>\r
2150                                                 <xs:restriction base="xs:NMTOKEN">\r
2151                                                         <xs:enumeration value="Ellipse" />\r
2152                                                         <xs:enumeration value="Rectangle" />\r
2153                                                         <xs:enumeration value="Bounded" />\r
2154                                                 </xs:restriction>\r
2155                                         </xs:simpleType>\r
2156                                 </xs:attribute>\r
2157                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2158                                 <xs:attribute name="index" type="xs:string" />\r
2159                         </xs:extension>\r
2160                 </xs:simpleContent>\r
2161         </xs:complexType>\r
2162         <!-- *********** -->\r
2163         <!-- ** varlt ** -->\r
2164         <!-- *********** -->\r
2165         <xs:complexType name="varltType">\r
2166                 <xs:simpleContent>\r
2167                         <xs:extension base="xs:string">\r
2168                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2169                                 <xs:attribute name="index" type="xs:string" />\r
2170                         </xs:extension>\r
2171                 </xs:simpleContent>\r
2172         </xs:complexType>\r
2173         <!-- ************ -->\r
2174         <!-- ** varlte ** -->\r
2175         <!-- ************ -->\r
2176         <xs:complexType name="varlteType">\r
2177                 <xs:simpleContent>\r
2178                         <xs:extension base="xs:string">\r
2179                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2180                                 <xs:attribute name="index" type="xs:string" />\r
2181                         </xs:extension>\r
2182                 </xs:simpleContent>\r
2183         </xs:complexType>\r
2184         <!-- *************** -->\r
2185         <!-- ** varsubset ** -->\r
2186         <!-- *************** -->\r
2187         <xs:complexType name="varsubsetType">\r
2188                 <xs:simpleContent>\r
2189                         <xs:extension base="xs:string">\r
2190                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2191                                 <xs:attribute name="setmatch" default="Exact">\r
2192                                         <xs:simpleType>\r
2193                                                 <xs:restriction base="xs:NMTOKEN">\r
2194                                                         <xs:enumeration value="Exact" />\r
2195                                                         <xs:enumeration value="Partial" />\r
2196                                                 </xs:restriction>\r
2197                                         </xs:simpleType>\r
2198                                 </xs:attribute>\r
2199                                 <xs:attribute name="index" type="xs:string" />\r
2200                         </xs:extension>\r
2201                 </xs:simpleContent>\r
2202         </xs:complexType>\r
2203         <!-- ****************** -->\r
2204         <!-- ** varsubstring ** -->\r
2205         <!-- ****************** -->\r
2206         <xs:complexType name="varsubstringType">\r
2207                 <xs:simpleContent>\r
2208                         <xs:extension base="xs:string">\r
2209                                 <xs:attribute name="index" type="xs:string" />\r
2210                                 <xs:attribute name="respident" type="xs:string" use="required" />\r
2211                                 <xs:attribute name="case" default="No">\r
2212                                         <xs:simpleType>\r
2213                                                 <xs:restriction base="xs:NMTOKEN">\r
2214                                                         <xs:enumeration value="Yes" />\r
2215                                                         <xs:enumeration value="No" />\r
2216                                                 </xs:restriction>\r
2217                                         </xs:simpleType>\r
2218                                 </xs:attribute>\r
2219                         </xs:extension>\r
2220                 </xs:simpleContent>\r
2221         </xs:complexType>\r
2222         <!-- **************** -->\r
2223         <!-- ** vocabulary ** -->\r
2224         <!-- **************** -->\r
2225         <xs:complexType name="vocabularyType">\r
2226                 <xs:simpleContent>\r
2227                         <xs:extension base="xs:string">\r
2228                                 <xs:attribute name="uri" type="xs:string" />\r
2229                                 <xs:attribute name="entityref" type="xs:ENTITY" />\r
2230                                 <xs:attribute name="vocab_type" type="xs:string" />\r
2231                         </xs:extension>\r
2232                 </xs:simpleContent>\r
2233         </xs:complexType>\r
2234 </xs:schema>\r