rmoorman / qtimigration

Automatically exported from code.google.com/p/qtimigration
0 stars 0 forks source link

Converting from 1.2 to 2.1 - default namespace issue #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
Please try to convert the Questionmark QTI files (see Migration test zip file 
for example).

I am using an LMS system named itsLearning. Their output files are also added 
as a reference only.

When importing the convereted files to the LMS system it gives the following 
feedback:

Error

Uploaded package is not valid IMS package v1.2 or one or more items is not IMS 
QTI v2.1 format (item "imsmanifest.xml" default namespace is 
"http://www.imsglobal.org/xsd/imscp_v1p1," expecting 
"http://www.imsglobal.org/xsd/imscp_v1p2").

I assumed Questionmark was using QTI 1.2; however, reading the error message 
from the LMS it seems as if it thinks it has a set of converted 1.1 files. The 
DTD used by Questionmark is 1.2.

Any help understanding this is highly appreciated. Thanks!

Kind regards,
Jon Fraczak
Bergen, Norway

Original issue reported on code.google.com by jonfrac...@gmail.com on 18 Oct 2012 at 6:22

Attachments:

GoogleCodeExporter commented 8 years ago
FYI, I got the import working by fixing the imsmanifest.xml file. I did the 
following changes:

1. Added 

    <imsmd:technical><imsmd:format>text/x-imsqti-item-xml</imsmd:format></imsmd:technical>

    after all

    </imsmd:general> tags

    like this

    </imsmd:general><imsmd:technical><imsmd:format>text/x-imsqti-item-xml</imsmd:format></imsmd:technical>

2. Changed the namespace version from

    xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"

    to

    xmlns="http://www.imsglobal.org/xsd/imscp_v1p2"

3. Changed the resource type from

    type="imsqti_item_xmlv2p0"

    to

    type="imsqti_item_xmlv2p1"

Still I am missing data from Questionmark that tells me which question is 
correct for some of the questions. The DTD in Questionmark's output says it is 
using 1.2. Meaning, I guess your tool adds the wrong namespace and only 
migrates the XML to 2.0.

Original comment by jonfrac...@gmail.com on 18 Oct 2012 at 8:27

GoogleCodeExporter commented 8 years ago
As mentioned the question types are not all correctly generated as the XML is 
missing a full response declaration giving the response alternatives (mapEntry) 
the correct score.

Find attached an example of the output from the QTI Migration tool and an 
export of the same content from the LMS system after we imported the output 
from the migration tool.

Original comment by jonfrac...@gmail.com on 18 Oct 2012 at 9:59

Attachments:

GoogleCodeExporter commented 8 years ago
Has anyone found a solution to correctly mapping the answers to the questions?

Original comment by jahowar...@gmail.com on 8 Dec 2013 at 6:03