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

[Fwd: April CCXML: bad assignments in test document 6_1]

From: Chris Davis <davisc@iivip.com>
Date: Fri, 16 Apr 2010 18:05:30 -0500
Message-ID: <4BC8ED3A.1040101@iivip.com>
To: www-voice@w3.org
Hello www-voice,

I am withdrawing my comments in the forwarded message. Another case where
I had overlooked the ccxml scope!

-- 
Chris Davis
Interact Incorporated R&D
512-502-9969x117


attached mail follows:


Hello www-voice,

There is some illegal CCXML in 6_1.txml and
child_1.ccxml from  
http://www.w3.org/Voice/2009/ccxml-irp/ccxml10-irp-20100331.zip .

In 6_1.txml, the line
 <assign name="ccxml.var2" expr="222"/>
should instead be
<assign name="application.var2" expr="222"/>

and in child_1.ccxml
the references to  ccxml.var2 should also be instead to application.var2.

That particular case seems to be verifying that application scope 
variables set
in the parent are not reflected in the child. That's good, but the wrong
variables are being checked.

The references to an object that doesn't exist (and even if present in 
parent would not exist in the child) cause javascript
in both parent and child to combust.

Thanks

-- 
Chris Davis
Interact Incorporated R&D
512-502-9969x117
Received on Friday, 16 April 2010 23:06:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 April 2010 23:06:14 GMT