[Xerte-dev] Re: Answer delimiter in dialog page

Smith, John J.J.Smith at gcu.ac.uk
Wed Feb 13 21:54:42 GMT 2013


Hi Tom,

Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present.

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl]
Sent: 13 February 2013 20:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Answer delimiter in dialog page

Say you ask how many kg there are in 2500g. Type in the correct answer
in the answer field as 2,5 (floating point in Dutch). That answer is not
accepted if entered by the student in the flash version (xerte or xot).
2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct
answer (which is what I want, but breaks previous behaviour.

By adding an optional delimiter that will only be used by the page if it
set, you can solve this issue.

I don't propose to change the comma in to a semi-colon, because that
will break previous behaviour as well.


Op 13-2-2013 21:33, Smith, John schreef:
> Is this in Xerte or in toolkits?
>
> I'm trying to reproduce and not really able to in XOT.
>
> Regards,
>
> John Smith | Learning Technologist
> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
> Cowcaddens Road | Glasgow | G4 0BA
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
> Sent: 13 February 2013 20:28
> To: xerte-dev at lists.nottingham.ac.uk
> Subject: [Xerte-dev] Re: Answer delimiter in dialog page
>
>> by say a semi-colon.
> Is there any way to find out if a semi-colon would end up in a conflict in some other localization?
>
>
>
>
>> Date: Wed, 13 Feb 2013 21:21:00 +0100
>> From: reijnders at tor.nl
>> To: xerte-dev at lists.nottingham.ac.uk
>> Subject: [Xerte-dev] Answer delimiter in dialog page
>>
>> The answer in the flash version of the dialog is a ',' delimited string
>> of possible answers. I didn't know that at first, and wondering why the
>> string 2,5 ( the Dutch notation of the floating point number 2.5, we use
>> a decimal comma) wasn't working. So it turns out that the comma is used
>> to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5".
>>
>> I've got two problems at the moment.
>>
>> 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter
>> (and I think it should, or some LO's will break)
>>
>> 2. Do you mind if I introduce an optional delimiter to be able to
>> replace the comma, by say a semi-colon.
>>
>>
>> Tom
>>
>> --
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an attachment
>> may still contain software viruses which could damage your computer system:
>> you are advised to perform your own checks. Email communications with the
>> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
>
> Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>

--
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html



More information about the Xerte-dev mailing list