W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2010

Re: CCXML Implementation Report: couple of problems in scripts - #1 Assignment without declaration - [cc] ISSUE-683

From: RJ Auburn <rj@voxeo.com>
Date: Mon, 26 Apr 2010 05:57:57 +0800
Cc: www-voice <www-voice@w3.org>, W3C Voice Browser Working Group <w3c-voice-wg@w3.org>
Message-Id: <12203D24-3A44-43CE-B1A4-382707B42DBA@voxeo.com>
To: Petr Kuba <kuba@optimsys.cz>
This is tracked as ISSUE-683.
---
RJ Auburn
CTO, Voxeo Corporation
tel:+1-407-418-1800

Come join us at our Voxeo Customer Summit, June 21st  June 23rd at the Hard Rock Hotel, register today for your All Access Pass:  
http://www.voxeo.com/summits/customer



On Apr 13, 2010, at 8:51 PM, Petr Kuba wrote:

> 1) Assignment without declaration.
> Script 8_2_2_A.txml, Assertions 757, 758, 759.
> 
> The script contains the following assignments without declaring variables var2 and var3:
> 
>  var2 = var1;
>  var3 = myAry["ary"];
> 
> CCXML specification contains the following statement:
> 
>  It is illegal to make an assignment to a variable that has not been
>  explicitly declared using <var> or a var statement within a <script>.
> 
> So the code above is illegal.
Received on Sunday, 25 April 2010 21:58:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 25 April 2010 21:58:42 GMT