Re: [SCXML] bad tests with inline values

Zjnue Brzavi <[email protected]>
Newsgroups gmane.comp.web.voice
Message-ID <CABmmmmxmWOpd26kqBpfBmeRmY0zFGo52mEaieFA3P3H8isqhUQ@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.