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

Re: SCXML test 147: transition contains empty condition

From: David Junger <tffy@free.fr>
Date: Fri, 29 Mar 2013 08:47:25 +0100
Message-Id: <018E8C2B-D10A-4C28-82F7-AB928CEC7E7A@free.fr>
To: "VBWG Public (www-voice@w3.org)" <www-voice@w3.org>
In any case, empty strings are indeed one of the falsy values in ECMAScript. Furthermore, while we could reasonably decide that the value in cond="" should evaluate to undefined rather than "" (since an empty string is not an ECMAScript litteral for the empty string), it makes no difference in the outcome (and very little difference in expr="" where the result is not converted to boolean).

			David
Received on Friday, 29 March 2013 07:47:53 UTC

This archive was generated by hypermail 2.3.1 : Friday, 29 March 2013 07:47:54 UTC