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

CCXML Error Handling

From: Tracy Boehrer <tboehrer@calltower.com>
Date: Wed, 19 Nov 2003 19:44:02 -0800
Message-ID: <676743E57886C340A628FB1DCCF42D3B1BB30F@CTMAIL.calltower.com>
To: <www-voice@w3.org>
I am looking for a clarification for Section 9.5.2, "Error Handling".  This section talks mostly about conditions that terminate script execution.  But other errors (presumably within the <transition> elements), state that :
 
"In general, when an error occurs in a CCXML document, the corresponding error event is added to the front of the CCXML document's event queue. This causes the CCXML document to process the error event immediately after the current event."
 
I understand an error event gets posted.  However, does execution of child elements (of the transition) stop at the point of error, or continue?
 
For example, given:
 
<transition>
   <assign name="var1" expr="bad_expression">
   <assign name="var2" expr="var1 + '12345'"/>
   <createcall dest="var1 + var2"/>
</transition>

I would think execution would stop at the first assign, post an error event to the front of the queue, and process the error event on the next pass?


 
Received on Wednesday, 19 November 2003 22:44:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:59 GMT