- From: Chris Davis <davisc@iivip.com>
- Date: Thu, 15 Apr 2010 10:52:53 -0500
- To: www-voice <www-voice@w3.org>
Hello www-voice,
There is some bad javascript in 6_1.txml of
http://www.w3.org/Voice/2009/ccxml-irp/ccxml10-irp-20100331.zip
The segment of code that reads
<var name="counter" expr="0"/>
<script>
function next()
{
ccxml.counter = ccxml.counter + 1;
return ccxml.counter;
}
</script>
should be instead
<var name="counter" expr="0"/>
<script>
function next()
{
counter = counter + 1;
return counter;
}
</script>
The fact that ccxml is not a defined object before being referenced
causes the javascript to burst.
Thanks
--
Chris Davis
Interact Incorporated R&D
512-502-9969x117
Received on Thursday, 15 April 2010 15:53:32 UTC