qtiworks icon indicating copy to clipboard operation
qtiworks copied to clipboard

Multiple interactions bound to same response variable?

Open davemckain opened this issue 12 years ago • 2 comments

The QTI specification doesn't mention what should happen if multiple interactions are bound to the same response variable. For example:

<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="string"/>
...
<textEntryInteraction responseIdentifier="RESPONSE"/>
<textEntryInteraction responseIdentifier="RESPONSE"/>

Currently JQTI+ is not testing for this during validation. As the spec doesn't define what should happen here, I think JQTI+ should flag this up and either ignore these interactions during binding, or explicitly define the order in which interactions are bound to variables.

Comments?

davemckain avatar Feb 12 '13 13:02 davemckain

This may have been prior to some IMS updates but: http://www.imsglobal.org/question/qtiv2p1/imsqti_infov2p1.html#element10073

"Each response variable declared may be bound to one and only one interaction."

ccreel avatar Nov 14 '14 04:11 ccreel

@ccreel Thanks for that. I swear I've never noticed that sentence before :-)

I'll change this issue to an enhancement request, as it would be useful to have this kind of thing checked during validation.

davemckain avatar Nov 14 '14 08:11 davemckain