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

July CCXML Implementation Report: 10_2_3: missing transition for connection.disconnected

From: Petr Kuba <kuba@optimsys.cz>
Date: Mon, 26 Jul 2010 11:47:28 +0200
Message-ID: <4C4D59B0.8050100@optimsys.cz>
To: www-voice <www-voice@w3.org>
Hello www-voice,

In 10_2_3, assertion 1295 shows the following code:


	<transition event="user.START_ASSERTION_1286" state="ASSERTION_NMBR_1286">
	<!--
1286	
10.2.4 &lt;assign&gt; and &lt;var&gt; 	
Execution of connection elements MUST NOT immediately change the state 
of any associated Connection Objects	mscott@voicegenie.com		Accepted
	-->
		<disconnect connectionid="ConnectionID"/>
		<if cond="session.connections[ConnectionID].state == 
Connection.CONNECTED">
			<script>assertions[assert_index].P_F = s_PASS;</script>
		</if>
		<send targettype="'ccxml'" target="session.id" name="name_prepare_new"/>
	</transition>

Unfortunately there is no <transition> for connection.disconnected. If 
this event is delivered before the event generated by <send> the 
following message is logged:

10_2_4 TA-1286: Comment: UNEXPECTED EVENT connection.disconnected IN 
STATE ASSERTION_NMBR_1286

We recommend to handle connection.disconnected correctly to keep the 
test clear.

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 09:48:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 July 2010 09:48:21 GMT