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

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 UTC