Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-38051 Annihilate all the CRLFs present in some questions/fixtures...

  • Loading branch information...
commit f60f3b6c3945fd7c268426a890b1bccff7090311 1 parent bbcf8da
Jean-Michel Vedrine authored
View
284 question/format/blackboard/tests/fixtures/sample_blackboard.dat
@@ -1,142 +1,142 @@
-<?xml version='1.0' encoding='utf-8'?>
-<POOL>
- <TITLE value='exam 3 2008-9'/>
- <QUESTIONLIST>
- <QUESTION id='q1' class='QUESTION_TRUEFALSE' points='1'/>
- <QUESTION id='q7' class='QUESTION_MULTIPLECHOICE' points='1'/>
- <QUESTION id='q8' class='QUESTION_MULTIPLEANSWER' points='1'/>
- <QUESTION id='q39-44' class='QUESTION_MATCH' points='1'/>
- <QUESTION id='q9' class='QUESTION_ESSAY' points='1'/>
- <QUESTION id='q27' class='QUESTION_FILLINBLANK' points='1'/>
- </QUESTIONLIST>
- <QUESTION_TRUEFALSE id='q1'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">42 is the Absolute Answer to everything.</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q1_a1'>
- <TEXT>False</TEXT>
- </ANSWER>
- <ANSWER id='q1_a2'>
- <TEXT>True</TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q1_a2'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[42 is the Ultimate Answer.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_TRUEFALSE>
- <QUESTION_MULTIPLECHOICE id='q7'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q7_a1' position='1'>
- <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q7_a2' position='2'>
- <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q7_a3' position='3'>
- <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q7_a2'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow is between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_MULTIPLECHOICE>
- <QUESTION_MULTIPLEANSWER id='q8'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q8_a1' position='1'>
- <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a2' position='2'>
- <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a3' position='3'>
- <TEXT><![CDATA[<span style="font-size:12pt">off-beige</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a4' position='4'>
- <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q8_a1'/>
- <CORRECTANSWER answer_id='q8_a3'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow and off-beige are between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_MULTIPLEANSWER>
- <QUESTION_MATCH id='q39-44'>
- <BODY>
- <TEXT><![CDATA[<i>Classify the animals.</i>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q39-44_a1' position='1'>
- <TEXT><![CDATA[frog]]></TEXT>
- </ANSWER>
- <ANSWER id='q39-44_a2' position='2'>
- <TEXT><![CDATA[cat]]></TEXT>
- </ANSWER>
- <ANSWER id='q39-44_a3' position='3'>
- <TEXT><![CDATA[newt]]></TEXT>
- </ANSWER>
- <CHOICE id='q39-44_c1' position='1'>
- <TEXT><![CDATA[mammal]]></TEXT>
- </CHOICE>
- <CHOICE id='q39-44_c2' position='2'>
- <TEXT><![CDATA[insect]]></TEXT>
- </CHOICE>
- <CHOICE id='q39-44_c3' position='3'>
- <TEXT><![CDATA[amphibian]]></TEXT>
- </CHOICE>
- <GRADABLE>
- <CORRECTANSWER answer_id='q39-44_a1' choice_id='q39-44_c3'/>
- <CORRECTANSWER answer_id='q39-44_a2' choice_id='q39-44_c1'/>
- <CORRECTANSWER answer_id='q39-44_a3' choice_id='q39-44_c3'/>
- </GRADABLE>
- </QUESTION_MATCH>
- <QUESTION_ESSAY id='q9'>
- <BODY>
- <TEXT><![CDATA[How are you?]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q9_a1'>
- <TEXT><![CDATA[Blackboard answer for essay questions will be imported as informations for graders.]]></TEXT>
- </ANSWER>
- <GRADABLE>
- </GRADABLE>
- </QUESTION_ESSAY>
- <QUESTION_FILLINBLANK id='q27'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">Name an amphibian: __________.</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q27_a1' position='1'>
- <TEXT>frog</TEXT>
- </ANSWER>
- <GRADABLE>
- </GRADABLE>
- </QUESTION_FILLINBLANK>
-</POOL>
+<?xml version='1.0' encoding='utf-8'?>
+<POOL>
+ <TITLE value='exam 3 2008-9'/>
+ <QUESTIONLIST>
+ <QUESTION id='q1' class='QUESTION_TRUEFALSE' points='1'/>
+ <QUESTION id='q7' class='QUESTION_MULTIPLECHOICE' points='1'/>
+ <QUESTION id='q8' class='QUESTION_MULTIPLEANSWER' points='1'/>
+ <QUESTION id='q39-44' class='QUESTION_MATCH' points='1'/>
+ <QUESTION id='q9' class='QUESTION_ESSAY' points='1'/>
+ <QUESTION id='q27' class='QUESTION_FILLINBLANK' points='1'/>
+ </QUESTIONLIST>
+ <QUESTION_TRUEFALSE id='q1'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">42 is the Absolute Answer to everything.</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q1_a1'>
+ <TEXT>False</TEXT>
+ </ANSWER>
+ <ANSWER id='q1_a2'>
+ <TEXT>True</TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q1_a2'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[42 is the Ultimate Answer.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_TRUEFALSE>
+ <QUESTION_MULTIPLECHOICE id='q7'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q7_a1' position='1'>
+ <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q7_a2' position='2'>
+ <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q7_a3' position='3'>
+ <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q7_a2'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow is between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_MULTIPLECHOICE>
+ <QUESTION_MULTIPLEANSWER id='q8'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q8_a1' position='1'>
+ <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a2' position='2'>
+ <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a3' position='3'>
+ <TEXT><![CDATA[<span style="font-size:12pt">off-beige</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a4' position='4'>
+ <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q8_a1'/>
+ <CORRECTANSWER answer_id='q8_a3'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow and off-beige are between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_MULTIPLEANSWER>
+ <QUESTION_MATCH id='q39-44'>
+ <BODY>
+ <TEXT><![CDATA[<i>Classify the animals.</i>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q39-44_a1' position='1'>
+ <TEXT><![CDATA[frog]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q39-44_a2' position='2'>
+ <TEXT><![CDATA[cat]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q39-44_a3' position='3'>
+ <TEXT><![CDATA[newt]]></TEXT>
+ </ANSWER>
+ <CHOICE id='q39-44_c1' position='1'>
+ <TEXT><![CDATA[mammal]]></TEXT>
+ </CHOICE>
+ <CHOICE id='q39-44_c2' position='2'>
+ <TEXT><![CDATA[insect]]></TEXT>
+ </CHOICE>
+ <CHOICE id='q39-44_c3' position='3'>
+ <TEXT><![CDATA[amphibian]]></TEXT>
+ </CHOICE>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q39-44_a1' choice_id='q39-44_c3'/>
+ <CORRECTANSWER answer_id='q39-44_a2' choice_id='q39-44_c1'/>
+ <CORRECTANSWER answer_id='q39-44_a3' choice_id='q39-44_c3'/>
+ </GRADABLE>
+ </QUESTION_MATCH>
+ <QUESTION_ESSAY id='q9'>
+ <BODY>
+ <TEXT><![CDATA[How are you?]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q9_a1'>
+ <TEXT><![CDATA[Blackboard answer for essay questions will be imported as informations for graders.]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ </GRADABLE>
+ </QUESTION_ESSAY>
+ <QUESTION_FILLINBLANK id='q27'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">Name an amphibian: __________.</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q27_a1' position='1'>
+ <TEXT>frog</TEXT>
+ </ANSWER>
+ <GRADABLE>
+ </GRADABLE>
+ </QUESTION_FILLINBLANK>
+</POOL>
View
284 question/format/blackboard_six/tests/fixtures/sample_blackboard_pool.dat
@@ -1,142 +1,142 @@
-<?xml version='1.0' encoding='utf-8'?>
-<POOL>
- <TITLE value='exam 3 2008-9'/>
- <QUESTIONLIST>
- <QUESTION id='q1' class='QUESTION_TRUEFALSE' points='1'/>
- <QUESTION id='q7' class='QUESTION_MULTIPLECHOICE' points='1'/>
- <QUESTION id='q8' class='QUESTION_MULTIPLEANSWER' points='1'/>
- <QUESTION id='q39-44' class='QUESTION_MATCH' points='1'/>
- <QUESTION id='q9' class='QUESTION_ESSAY' points='1'/>
- <QUESTION id='q27' class='QUESTION_FILLINBLANK' points='1'/>
- </QUESTIONLIST>
- <QUESTION_TRUEFALSE id='q1'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">42 is the Absolute Answer to everything.</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q1_a1'>
- <TEXT>False</TEXT>
- </ANSWER>
- <ANSWER id='q1_a2'>
- <TEXT>True</TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q1_a2'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[42 is the Ultimate Answer.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_TRUEFALSE>
- <QUESTION_MULTIPLECHOICE id='q7'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q7_a1' position='1'>
- <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q7_a2' position='2'>
- <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q7_a3' position='3'>
- <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q7_a2'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow is between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_MULTIPLECHOICE>
- <QUESTION_MULTIPLEANSWER id='q8'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q8_a1' position='1'>
- <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a2' position='2'>
- <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a3' position='3'>
- <TEXT><![CDATA[<span style="font-size:12pt">off-beige</span>]]></TEXT>
- </ANSWER>
- <ANSWER id='q8_a4' position='4'>
- <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
- </ANSWER>
- <GRADABLE>
- <CORRECTANSWER answer_id='q8_a1'/>
- <CORRECTANSWER answer_id='q8_a3'/>
- <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
- <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow and off-beige are between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
- </GRADABLE>
- </QUESTION_MULTIPLEANSWER>
- <QUESTION_MATCH id='q39-44'>
- <BODY>
- <TEXT><![CDATA[<i>Classify the animals.</i>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q39-44_a1' position='1'>
- <TEXT><![CDATA[frog]]></TEXT>
- </ANSWER>
- <ANSWER id='q39-44_a2' position='2'>
- <TEXT><![CDATA[cat]]></TEXT>
- </ANSWER>
- <ANSWER id='q39-44_a3' position='3'>
- <TEXT><![CDATA[newt]]></TEXT>
- </ANSWER>
- <CHOICE id='q39-44_c1' position='1'>
- <TEXT><![CDATA[mammal]]></TEXT>
- </CHOICE>
- <CHOICE id='q39-44_c2' position='2'>
- <TEXT><![CDATA[insect]]></TEXT>
- </CHOICE>
- <CHOICE id='q39-44_c3' position='3'>
- <TEXT><![CDATA[amphibian]]></TEXT>
- </CHOICE>
- <GRADABLE>
- <CORRECTANSWER answer_id='q39-44_a1' choice_id='q39-44_c3'/>
- <CORRECTANSWER answer_id='q39-44_a2' choice_id='q39-44_c1'/>
- <CORRECTANSWER answer_id='q39-44_a3' choice_id='q39-44_c3'/>
- </GRADABLE>
- </QUESTION_MATCH>
- <QUESTION_ESSAY id='q9'>
- <BODY>
- <TEXT><![CDATA[How are you?]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q9_a1'>
- <TEXT><![CDATA[Blackboard answer for essay questions will be imported as informations for graders.]]></TEXT>
- </ANSWER>
- <GRADABLE>
- </GRADABLE>
- </QUESTION_ESSAY>
- <QUESTION_FILLINBLANK id='q27'>
- <BODY>
- <TEXT><![CDATA[<span style="font-size:12pt">Name an amphibian: __________.</span>]]></TEXT>
- <FLAGS>
- <ISHTML value='true'/>
- <ISNEWLINELITERAL value='false'/>
- </FLAGS>
- </BODY>
- <ANSWER id='q27_a1' position='1'>
- <TEXT>frog</TEXT>
- </ANSWER>
- <GRADABLE>
- </GRADABLE>
- </QUESTION_FILLINBLANK>
-</POOL>
+<?xml version='1.0' encoding='utf-8'?>
+<POOL>
+ <TITLE value='exam 3 2008-9'/>
+ <QUESTIONLIST>
+ <QUESTION id='q1' class='QUESTION_TRUEFALSE' points='1'/>
+ <QUESTION id='q7' class='QUESTION_MULTIPLECHOICE' points='1'/>
+ <QUESTION id='q8' class='QUESTION_MULTIPLEANSWER' points='1'/>
+ <QUESTION id='q39-44' class='QUESTION_MATCH' points='1'/>
+ <QUESTION id='q9' class='QUESTION_ESSAY' points='1'/>
+ <QUESTION id='q27' class='QUESTION_FILLINBLANK' points='1'/>
+ </QUESTIONLIST>
+ <QUESTION_TRUEFALSE id='q1'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">42 is the Absolute Answer to everything.</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q1_a1'>
+ <TEXT>False</TEXT>
+ </ANSWER>
+ <ANSWER id='q1_a2'>
+ <TEXT>True</TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q1_a2'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[42 is the Ultimate Answer.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_TRUEFALSE>
+ <QUESTION_MULTIPLECHOICE id='q7'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q7_a1' position='1'>
+ <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q7_a2' position='2'>
+ <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q7_a3' position='3'>
+ <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q7_a2'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow is between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_MULTIPLECHOICE>
+ <QUESTION_MULTIPLEANSWER id='q8'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q8_a1' position='1'>
+ <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a2' position='2'>
+ <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a3' position='3'>
+ <TEXT><![CDATA[<span style="font-size:12pt">off-beige</span>]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q8_a4' position='4'>
+ <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q8_a1'/>
+ <CORRECTANSWER answer_id='q8_a3'/>
+ <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>
+ <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow and off-beige are between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>
+ </GRADABLE>
+ </QUESTION_MULTIPLEANSWER>
+ <QUESTION_MATCH id='q39-44'>
+ <BODY>
+ <TEXT><![CDATA[<i>Classify the animals.</i>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q39-44_a1' position='1'>
+ <TEXT><![CDATA[frog]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q39-44_a2' position='2'>
+ <TEXT><![CDATA[cat]]></TEXT>
+ </ANSWER>
+ <ANSWER id='q39-44_a3' position='3'>
+ <TEXT><![CDATA[newt]]></TEXT>
+ </ANSWER>
+ <CHOICE id='q39-44_c1' position='1'>
+ <TEXT><![CDATA[mammal]]></TEXT>
+ </CHOICE>
+ <CHOICE id='q39-44_c2' position='2'>
+ <TEXT><![CDATA[insect]]></TEXT>
+ </CHOICE>
+ <CHOICE id='q39-44_c3' position='3'>
+ <TEXT><![CDATA[amphibian]]></TEXT>
+ </CHOICE>
+ <GRADABLE>
+ <CORRECTANSWER answer_id='q39-44_a1' choice_id='q39-44_c3'/>
+ <CORRECTANSWER answer_id='q39-44_a2' choice_id='q39-44_c1'/>
+ <CORRECTANSWER answer_id='q39-44_a3' choice_id='q39-44_c3'/>
+ </GRADABLE>
+ </QUESTION_MATCH>
+ <QUESTION_ESSAY id='q9'>
+ <BODY>
+ <TEXT><![CDATA[How are you?]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q9_a1'>
+ <TEXT><![CDATA[Blackboard answer for essay questions will be imported as informations for graders.]]></TEXT>
+ </ANSWER>
+ <GRADABLE>
+ </GRADABLE>
+ </QUESTION_ESSAY>
+ <QUESTION_FILLINBLANK id='q27'>
+ <BODY>
+ <TEXT><![CDATA[<span style="font-size:12pt">Name an amphibian: __________.</span>]]></TEXT>
+ <FLAGS>
+ <ISHTML value='true'/>
+ <ISNEWLINELITERAL value='false'/>
+ </FLAGS>
+ </BODY>
+ <ANSWER id='q27_a1' position='1'>
+ <TEXT>frog</TEXT>
+ </ANSWER>
+ <GRADABLE>
+ </GRADABLE>
+ </QUESTION_FILLINBLANK>
+</POOL>
View
2  question/format/xml/tests/fixtures/truefalse.xml
@@ -45,7 +45,7 @@
<text><![CDATA[<p>Moodle <img src="@@PLUGINFILE@@/logo.jpg" alt="Moodle logo" width="48" height="48" /> is an acronym for <span style="font-style: italic;">Modular Object-Oriented Dynamic Learning Environment</span>.</p>]]></text>
<file name="logo.jpg" encoding="base64">/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGBQkIBwgKCQkKDRYODQwMDRoTFBAWHxwhICocHh4jJzIqIyUvLR4eNzssLy41ODg0JSo4QTAqPDwsNDUBCQoKDQsNGQ4OGTUkHiQ1NTU1NTU1NTU1NTUuNTU1LTU1NTU1NTQsMjU1NTU1NSk0KSw0MjQ2Miw1NDQyNDQ0Nf/AABEIADAAMAMBIgACEQEDEQH/xAAbAAEAAgIDAAAAAAAAAAAAAAAHAAYDBQEECP/EADUQAAEDAwEEBgcJAAAAAAAAAAECAwQABREGEiExURNBYXORsQcUFRZDYqEXIyQ2QnGywfD/xAAYAQEAAwEAAAAAAAAAAAAAAAAAAQMEAv/EACIRAAEEAgIBBQAAAAAAAAAAAAMAAQIEETESIeEFUYGhsf/aAAwDAQACEQMRAD8AcalSsT8lmMkKfdbaSeBWoJH1oiy1K0z+sbDGTly7Q+WEuhR8BWW16lt16dUm3vF9KeLiUKCM8tojGaItpUqVKIqRq7Xr9sBj2i3yZEg/FUyoIT2jPH/caHbtepdzubqr3ch06fhLXgp7N/DwFOMwx/f9MZxoEuQUuBRJI3OKGMcOsdtHOsNMRGLxNu7TilqcfUVNuIBAwcYBGKpKcYcc3xlWjFMueDaVEj3Bj2mwOi9ZZ6QBaUfqGeA516GsKbTAtTD7LiSgpGyAN6ezZHDFG1j9GsyVLXd0pSwlP3jTSgOXnXfuM+VDiNR4qg2uSpKARu3msNu7MBIwjHPL9WqtViaDzeWkie9ltSrZcW432qbOK2caUzLZDsdxLrauCknIo6XpCdbrYJ65q3hu20L5E43eNcaZubtq1emEFH1eUkko6goddViuHhYYB2bvWF3OsKQXKF9e6sdzVI+0SGCn8N6go7Xz9Kn+qquskj2fK71f8qTHojTzyHlIBcQMJV1gccfQUa6ptl7lPSYzVv2mluKUle2N4Jzzp6oEheHBs4dcUiRg8uT46V8s35fa7s+VHN8QBNtffN+YpItTTjdjbQUkL6PGDzo6m2q9yrnEDtvKG47ySVBQO4H96i+EhDilBum39KapIxHNnfaQruM6acHyJ8xVAaSB6QIGOSqQbsy+7px1uO30j2wnZRnGSCKoVstt3e1dFly4JZbbyCQoGoshJK8ObN02O/l0CSLVpRd+38L/2Q==</file> </questiontext>
<generalfeedback format="html">
- <text><![CDATA[<p><img src="@@PLUGINFILE@@/infos.jpg" alt="Informations" width="34" height="49" />For further information, see the <a title="Moodle Docs - About Moodle" href="http://docs.moodle.org/en/About_Moodle">documentation about Moodle</a></p>
+ <text><![CDATA[<p><img src="@@PLUGINFILE@@/infos.jpg" alt="Informations" width="34" height="49" />For further information, see the <a title="Moodle Docs - About Moodle" href="http://docs.moodle.org/en/About_Moodle">documentation about Moodle</a></p>
<p>.</p>]]></text>
<file name="infos.jpg" encoding="base64">/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGBQkIBwgKCQkKGRYaDQwMDRodFBAhKhwlIB8lHh4jIjIoIyQvJSQeKy8sLzMtODgsISo9QTs2QTIuMywBCQoKDQsNGQ4OGTUkHiQ1NTU1NTU1NTU1NTU1NTU1Ly82NTU1NDUtLTQ0NTU1MCwsLCw0KTU0LzU2NjMpKTQ2Kf/AABEIADEAIgMBIgACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAAABQYHBAID/8QALhAAAQMCBAMHBAMAAAAAAAAAAgABAwQFBhEhMUFRgRITIjJxsfAHYWKRFBVC/8QAGQEAAgMBAAAAAAAAAAAAAAAAAAEDBAUC/8QAIREAAgEDBAMBAAAAAAAAAAAAAAECAxExBBITISIjQQX/2gAMAwEAAhEDEQA/ANxXk5AiHtSGINzJ8lz3GvitlCdTOTCAcVl16xZU3SoMhMoof8iz65fdWaGmlXfWCOpUUMmrDVwGbCM8RE+zMbZuvqsdvzR2WSme3Xf+W8o5n3ZeX11dsn5PyVowJjUrof8AX1xN3w+Qufzbq3TuppHCHJF3RzGqnLa8l6REVMmKV9UpzhsMLA7sJF4v2yySe5OD9mPV+LvwW84osg3+xzUj6G7eF23+cfVmWAXW01Vnrnp62JwJn0LLwn6fNFt/mzi4OH0p6iLvuJ3HZi01EUEQQCTFm0YMLPtyUdg+eePFNI8RF2vFx/F392ZSGN7va7sVva0yHI0Ik0jlG46u7ZZZ77Kx/TPBdQFc1zr4ii7HkAm1bjryd9NOWee7KS/Fo/Zl3FbdV8TV0RFgF0LiuFmoboDjWU4SZ75t78H6rtRCdgISiwdaKCbvYKUBPg4gIu3UWZ1MhGEQMEYsAtswtoy9Im5OXbYrWCIiQwiIgAiIgAiIgD//2Q==</file> </generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
Please sign in to comment.
Something went wrong with that request. Please try again.