Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 503 #1497

Open
yashodhank opened this issue Jul 22, 2020 · 0 comments
Open

Error 503 #1497

yashodhank opened this issue Jul 22, 2020 · 0 comments

Comments

@yashodhank
Copy link

yashodhank commented Jul 22, 2020

I thought it will save time if I do modify XML and import it back to system to save some time.

I have exported QTI Package 2.2 & QTI Package 2.1 of item class with all sub items under it (total: 100)

Then I modified XML using sublime as follows adding MAXSCORE, maxChoices="1", minChoices="1" values from exported (prior edited item using TAO Authoring option inside software)

Now matter what I do, be it exported package of v2.2 or v2.1, I only get 503 Error without any further details, when I am trying to import back package into software.

I have more than 400 questions (in sets of 100 in each item class) to modify and manual work is really too much..

Please help, let me know if I am missing anything..

Example Existing Exported QTI Item:

<?xml version="1.0" encoding="UTF-8"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p0 http://www.imsglobal.org/xsd/imsqti_v2p0.xsd" identifier="physio_1_057" title="physio_1_057" label="physio_1_057" xml:lang="en-US" adaptive="false" timeDependent="false" toolName="TAO" toolVersion="3.3.0-RC02">
  <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
    <correctResponse>
      <value><![CDATA[A4]]></value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="integer">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <itemBody>
    <choiceInteraction responseIdentifier="RESPONSE" shuffle="true" maxChoices="1" minChoices="0">
      <prompt>Which of the following is made by Placenta? - [physio_1_057]</prompt>
      <simpleChoice identifier="A1" fixed="false">HCG</simpleChoice>
      <simpleChoice identifier="A2" fixed="false">Estrogen</simpleChoice>
      <simpleChoice identifier="A3" fixed="false">HCSM</simpleChoice>
      <simpleChoice identifier="A4" fixed="false">All of These</simpleChoice>
    </choiceInteraction>
  </itemBody>
  <responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/>
</assessmentItem>

Example Modified XML QTI Item file, outside TAO using Sublime text editor on mac:

<?xml version="1.0" encoding="UTF-8"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd" identifier="physio_1_057" title="physio_1_057" label="physio_1_057" xml:lang="en-US" adaptive="false" timeDependent="false" toolName="TAO" toolVersion="3.3.0-RC02">
  <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
    <correctResponse>
      <value><![CDATA[A4]]></value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="integer" normalMaximum="1">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="MAXSCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>1</value>
    </defaultValue>
  </outcomeDeclaration>
  <itemBody>
    <choiceInteraction responseIdentifier="RESPONSE" shuffle="true" maxChoices="1" minChoices="1" orientation="vertical">
      <prompt>Which of the following is made by Placenta? - [physio_1_057]</prompt>
      <simpleChoice identifier="A1" fixed="false" showHide="show">HCG</simpleChoice>
      <simpleChoice identifier="A2" fixed="false" showHide="show">Estrogen</simpleChoice>
      <simpleChoice identifier="A3" fixed="false" showHide="show">HCSM</simpleChoice>
      <simpleChoice identifier="A4" fixed="false" showHide="show">All of These</simpleChoice>
    </choiceInteraction>
  </itemBody>
  <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/>
</assessmentItem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant