[jdom-interest] org.jdom.JDOMException: Error on line 2 of document file:///C:/src/MC.xml: Content is not allowed in prolog.

David Parker dlparker at facstaff.wisc.edu
Wed Apr 16 17:33:10 PDT 2003


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE questestinterop SYSTEM "C:\src\MC.dtd">
<questestinterop>
   <item  title="Multiple Choice Item" ident="Type_MC_001">

     <!-- **** START PRESENTATION LAYER ****  -->

     <presentation   label="Text_MC_001">
        <flow>

          <!-- ******* Question 1 ********  -->
          <response_lid ident="MC_001_a" rcardinality="Single" rtiming="No">
             <material>
                <mattext><![CDATA["Russian ??????"]]></mattext>
             </material>

             <render_choice shuffle="No">

               <flow_label>
                  <response_label ident="A">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["?????????"]]></mattext>
                          </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="B">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["?????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="C">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["???????????"]]></mattext>
                         </material>
                       </flow_mat>
                   </response_label>
                </flow_label>

             </render_choice>
          </response_lid>

          <!-- ******* Question 2 ********  -->
          <response_lid ident="MC_001_b" rcardinality="Single" rtiming="No">
             <material>
                <mattext><![CDATA["Arabic ???????? ??????? ??????"]]></mattext>
             </material>

             <render_choice shuffle="No">
                <flow_label>
                   <response_label ident="A">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["???????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="B">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["????????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="C">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["?????????.????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

              </render_choice>
          </response_lid>

          <!-- ******* Question 3 ********  -->
          <response_lid ident="MC_001_c" rcardinality="Single" rtiming="No">
             <material>
                <mattext><![CDATA["Japanese ??"]]></mattext>
             </material>

             <render_choice shuffle="No">
                <flow_label>
                   <response_label ident="A">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["?????????????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="B">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["??????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="C">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["????????"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

             </render_choice>
          </response_lid>


          <!-- ******* Question 4 ********  -->
          <response_lid ident="MC_001_d" rcardinality="Single" rtiming="No">
             <material>
                <mattext><![CDATA["When the world wants to talk, it speaks 
Unicode"]]></mattext>
             </material>

             <render_choice shuffle="No">
                <flow_label>
                   <response_label ident="A">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["French: Quand le monde veut 
communiquer, il parle en Unicode"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>


                <flow_label>
                   <response_label ident="B">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["Portuguese: Quando o mundo 
quer falar, fala Unicode"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="C">
                      <flow_mat class="list">
                         <material>
                            <mattext><![CDATA["Spanish: Cuando el mundo 
quiere conversar, habla Unicode"]]></mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

             </render_choice>
          </response_lid>

          <!-- ******* Question 5 ********  -->
          <response_lid ident="MC_001_e" rcardinality="Single" rtiming="No">
             <material>
                <mattext>La policía urbana está disgustada porque creen que 
las autoridades locales ...</mattext>
             </material>

             <render_choice shuffle="No">
                <flow_label>
                   <response_label ident="A">
                      <flow_mat class="list">
                         <material>
                            <mattext>están tarde</mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="B">
                      <flow_mat class="list">
                         <material>
                            <mattext>le harán daño a Orellana</mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

                <flow_label>
                   <response_label ident="C">
                      <flow_mat class="list">
                         <material>
                            <mattext>son incompetentes en su manejo de 
Orellana</mattext>
                         </material>
                      </flow_mat>
                   </response_label>
                </flow_label>

             </render_choice>
          </response_lid>


       </flow>
     </presentation>
     <!-- **** END PRESENTATION LAYER *****  -->


<resprocessing>
<outcomes>
<decvar vartype="Integer" defaultval="0"/>
</outcomes>
<respcondition title="Correct">
<conditionvar>
<varequal respident="MC_001_a">B</varequal>
</conditionvar>
<setvar action="Set">1</setvar>
<displayfeedback feedbacktype="Response" linkrefid="Correct"/>
</respcondition>
</resprocessing>

<itemfeedback ident="Correct" view="Candidate">
<flow_mat>
<material>
<mattext>Yes, you are right.</mattext>
</material>
</flow_mat>
</itemfeedback>


   </item>
</questestinterop>

org.jdom.JDOMException: Error on line 2 of document file:///C:/src/MC.xml: 
Content is not allowed in prolog.

readUtf8Input()
JDOMException: C:\src\MC.xml is not well-formed.

Error on line 2 of document file:///C:/src/MC.xml: Content is not allowed 
in prolog.
org.jdom.JDOMException: Error on line 2 of document file:///C:/src/MC.xml: 
Content is not allowed in prolog. 




More information about the jdom-interest mailing list