W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2009

Re: CCXML: using Object in the application scope - example error - ISSUE-633

From: RJ Auburn <rj@voxeo.com>
Date: Tue, 8 Dec 2009 23:23:11 -0500
Cc: www-voice@w3.org, W3C Voice Browser Working Group <w3c-voice-wg@w3.org>
Message-Id: <586E5062-400D-4CF7-8E98-2A6E3836CE37@voxeo.com>
To: Petr Kuba <kuba@optimsys.cz>
Peter,

This change has been accepted and applied to the internal copy of the spec. 

Best regards,

	RJ

---
RJ Auburn
CTO, Voxeo Corporation
tel:+1-407-418-1800

On Oct 22, 2009, at 5:23 AM, RJ Auburn wrote:

> Petr,
> 
> This is tracked as ISSUE-633.
> 
> Thanks,
> 
> 	RJ
> 
> ---
> RJ Auburn
> CTO, Voxeo Corporation
> tel:+1-407-418-1800
> 
> On Sep 30, 2009, at 3:01 PM, Petr Kuba wrote:
> 
>> Hello,
>> 
>> We believe that there is an error in the CCXML specification, section 8.4.
>> 
>> The example in this section shows how to create an Object in the application scope:
>> 
>> <var name="application.obj" expr="new Object()"/>
>> 
>> We assume that behavior of the <var> tag should be the same as behaviour  of a var statement within a <script> (although it is not explicitly stated in the specification). However, the following statement is not allowed in ECMAScript:
>> 
>> var application.obj = new Object();
>> 
>> However, it is correct to use the the following statement in ECMAScript:
>> 
>> application.obj = new Object();
>> 
>> Therefore we believe that correct version of the CCXML example is:
>> 
>> <assign name="application.obj" expr="new Object()"/>
>> 
>> In this case, the description above the example should be clarified as well.
>> 
>> Thanks for response,
>> 
>> Petr Kuba
>> 
>> 
>> -- 
>>  Petr Kuba, Project Manager
>>  OptimSys, s.r.o
>>  kuba@optimsys.cz
>>  Tel: +420 541 143 065
>>  Fax: +420 541 143 066
>>  http://www.optimsys.cz
>> 
> 
> 
Received on Wednesday, 9 December 2009 04:23:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 December 2009 04:23:57 GMT