2.11 Creating and Recoding Variables

Validation removed

The following validations should be removed

Missing Question Prompt

Note: The prompt is actually optional in the QTI spec. Let’s make it optional in our spec as well… 
I also noticed that there can be content after the choices, but our spec isn’t clear about that. Maybe this is clearer:

1. Any content above the .choices should be considered part of the qti-prompt for the question interaction
2. If there is no content above .choices the qti-prompt should be omitted
3. Any content that comes after .choices should end up after the choices in the qti-item-body 
(excluding the .feedback block, which should be extracted earlier anyway)

No Correct Responses

Note: Pretty sure this is already removed from validation right?

It should be possible to assign something points, but no correct value. 
In that case the points are awarded for completion. Otherwise points are awarded for correctness

Missing Points Attribute

Note: Also, I believe this has been removed from validation

Prompt Count Mismatch

Note: Remove this validation

Missing Scale Container

Note: The selector is specific but doesn’t need to be. We only need to ensure that there is a ul element, 
but not that it is a direct descendant >

Missing Main Instruction Text

Note: Remove this validation.
See Multiple-Choice prompt missing comment I made above – very similar

Missing Points Attribute

Note: Isn’t this already removed?

Null max-words and min-rows

CCP2-3215: [QTI] Short answer and essay word count validation uses incorrect defaults

Missing Points Attribute

Note: No item type should validate missing points --- points are optional

Missing Question Text

Note: Similar to multiple-choice prompt: this can be optional

Responses