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

July CCXML Implementation Report: 9_2_3_B: improper error event used in <send>

From: Petr Kuba <kuba@optimsys.cz>
Date: Mon, 26 Jul 2010 10:59:07 +0200
Message-ID: <4C4D4E5B.5060001@optimsys.cz>
To: www-voice <www-voice@w3.org>
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 Monday, 26 July 2010 08:59:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 July 2010 08:59:58 GMT