W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2007

VXML2.0 spec question

From: David Nicol <davidnicol@gmail.com>
Date: Thu, 26 Jul 2007 13:04:29 -0500
Message-ID: <934f64a20707261104s4657ca67hf4e8cedfaf177c0a@mail.gmail.com>
To: www-voice@w3.org

error.semantic
    A run-time error was found in the VoiceXML document, e.g.
substring bounds error, or an undefined variable was referenced.

Is that supposed to say "undeclared?"

<vxml xmlns="http://www.w3.org/2001/vxml" version = "2.1">
<form>
<block>
<prompt>
   undefined
   <value  expr="undefined"/>
   values do not throw errors
</prompt>
</block>
<catch event="error.semantic">
   values throw errors
</catch>
</form>
</vxml>

My reading of the spec is that the above dialog would say "undefined
values throw errors"

is that correct? OpenVXI3.4 treats it as an empty string.
Received on Thursday, 26 July 2007 18:04:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 July 2007 18:04:34 GMT