W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2010

Re: July CCXML Implementation Report: 9_2_3_B: improper error event used in <send> - ISSUE-734

From: RJ Auburn <rj@voxeo.com>
Date: Thu, 29 Jul 2010 10:51:29 -0400
Cc: www-voice <www-voice@w3.org>
Message-Id: <8E794FDC-4C8B-4784-B918-529130483E81@voxeo.com>
To: Petr Kuba <kuba@optimsys.cz>
Tracked as ISSUE-734. 

	RJ

On Jul 26, 2010, at 4:59 AM, Petr Kuba wrote:

> Hello www-voice,
> 
> In 9_2_3_B, the following code is used:
> 
> 	<send targettype="'ccxml'" target="session.id"
> 		name="'.name_prepare_new'"/>
> 
> Since the name value is invalid (starts with a dot) the <send> results in throwing an error event.
> 
> The problem is that the test expects error.send.* event to be thrown. We believe that error.semantic should be thrown in this case where the attribute value is incorrect.
> 
> See the Specification, Section 9.3.2 error.semantic:
> 
> "This error event MUST be thrown when there is a semantic error in a CCXML element ( e.g. passing an incorrect value for an attribute, etc.)."
> 
> The error.semantic is used in every situation where attribute value is incorrect so why not here?
> 
> On the other hand, the only usable error.send.* event would be "general" error.send.failed (9.3.5):
> 
> "This error event MUST be thrown when a <send> could not be completed for a reason not covered by another error.send.* event."
> 
> Please clarify on this.
> 
> Thanks,
> Petr
> 
> -- 
>  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 Thursday, 29 July 2010 14:52:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 July 2010 14:52:38 GMT