Menu

#15 CCRT trips over single quote in attribute values

open
nobody
CCRT (12)
5
2005-11-03
2005-11-03
francis
No

CCRT/CCRT-CCSI 2.2.4

CCRT has problems with XML files that contain a single
quote as part of the attribute value (title="Saturday's
disco"), which is allowed in XML.

The CCSI Webplayer displays:
Item failed to be parsed. (Body not found, invalid item or
unsupported QTI)

The CCRT webplayer displays the XML:
<assessmentItem
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsq
ti_v2p0 imsqti_v2p0.xsd" identifier="choice2"
title="Saturday's Disco"

The JBoss server log:
INFO [STDOUT] org.xml.sax.SAXParseException:
Element type "assessmentItem" must be followed by
either attribute specifications, ">" or "/>".

See also
http://windowssdk.msdn.microsoft.com/library/default.as
p?url=/library/en-us/xmlsdk/html/bacc3f03-8f7e-4714-
a881-c20f8786248f.asp

Discussion

MongoDB Logo MongoDB