[QTI] imsqti_v2p1 (draft): inlineChoice defined as empty

Matthijs Wensveen m.wensveen at func.nl
Tue Feb 5 07:32:46 GMT 2008


Hello James,
Thanks for your response. Is this fixed in the next version of the 
specification? Is there someplace where I can download that?
Also, how would the inline_choice.xml example look? 
(http://imsglobal.org/question/qtiv2p1pd2/examples/items/inline_choice.xml)

As printedVariable is also an empty element, I don't quite understand 
how I can just supply the text for an inlineChoice other that defining a 
templateValue with baseType string and put the text there. I was looking 
for a solution that looks more like simpleChoice.

Regards,
Matthijs.

PS. In qti v2.0 inlineChoice extended xs:string.

> Hi, 
>
> This mistake is acknowledged and a fix is provided below:
>
> Best regards,
>
> James Annesley
>
> <!-- Class: inlineChoice -->
>
> <xsd:attributeGroup name="inlineChoice.AttrGroup">
>          <xsd:attributeGroup ref="choice.AttrGroup"/> </xsd:attributeGroup>
>
> <xsd:group name="inlineChoice.ContentGroup">
>          <xsd:sequence>
>                  <xsd:element ref="printedVariable" minOccurs="0" 
> maxOccurs="unbounded"/>
>          </xsd:sequence>
> </xsd:group>
>
> <xsd:complexType name="inlineChoice.Type" mixed="true">
>          <xsd:group ref="inlineChoice.ContentGroup"/>
>          <xsd:attributeGroup ref="inlineChoice.AttrGroup"/>
> </xsd:complexType>
>
> <xsd:element name="inlineChoice" type="inlineChoice.Type"/>
>
>
> -----Original Message-----
> From: ims-qti-bounces at lists.ucles.org.uk
> [mailto:ims-qti-bounces at lists.ucles.org.uk] On Behalf Of Matthijs Wensveen
> Sent: 31 January 2008 13:58
> To: ims-qti at lists.ucles.org.uk
> Subject: [QTI] imsqti_v2p1 (draft): inlineChoice defined as empty
>
> Hello all,
>
> I have a problem validating documents that use qti:inlineChoice. The 
> schema and DTD define this element as empty. However, the example shows 
> text content in that element. As far as I can see there is no other way 
> to define a display value for inlineChoice, so this leads me to believe 
> the schema and DTD are erroneous.
>
> Any suggestions?
> Thanks,
> Matthijs.
>   

-- 
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500 




More information about the IMS-QTI mailing list