W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2014

Re: [SCXML] bad tests with inline values

From: Zjnue Brzavi <zjnue.brzavi@googlemail.com>
Date: Tue, 18 Mar 2014 00:47:38 +0000
Message-ID: <CABmmmmxmWOpd26kqBpfBmeRmY0zFGo52mEaieFA3P3H8isqhUQ@mail.gmail.com>
To: Jim Barnett <Jim.Barnett@genesyslab.com>
Cc: David Junger <tffy@free.fr>, Voice Public List <www-voice@w3.org>
Hi,

I'd like to propose a change to the eventdataVal XSL definition.
Right now all matched values are wrapped in single quotes, effectively /
semantically casting them to strings.
The proposal is to remove the single quotes from this definition and leave
it to the tests to wrap values in quotes when string comparisons are
desired.
It would be great if the tests could convey the intent of the types in use
clearly and not rely too much on various ecmascript quirks related to
type-casting.
Here's the diff:
https://github.com/zjnue/hscxml/commit/f964dcbbe72d54cc588d2fe3fd1bb4a3320e81c6

Best regards,
Zjnue

PS: The XPath XSL change has not been tested yet.
Received on Tuesday, 18 March 2014 00:48:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:44 UTC