W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2003

RE: Test 447

From: MattO <matto@tellme.com>
Date: Wed, 7 May 2003 18:30:00 -0700
To: "'Tracy Boehrer'" <tboehrer@calltower.com>
Cc: <www-voice@w3.org>
Message-ID: <010601c31501$576fa130$6401a8c0@mattoxp>


Thanks for sending in your comments about the VoiceXML 2.0
Implementation Report.


When submitting your test results using the report submission template
[1], please be sure to include your comments about any particular
assertions/tests with which you had issues in the inner text of the
corresponding assert element. For example:


<assert id="447" res="fail"><![CDATA[your comments]]></assert>


When all reports are submitted, we will review the results and make
modifications accordingly.


We look forward to receiving your report.




[1] http://www.w3.org/Voice/2003/ir/voicexml20-ir-results-template.xml

-----Original Message-----
From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Tracy Boehrer
Sent: Wednesday, May 07, 2003 6:58 AM
To: www-voice@w3.org
Subject: Test 447


I am unclear as to whether Test 447 is incorrect, or my implementation
of catch matching is incorrect. 
The following is the chain of events in my interpreter: 
1) A "event.punc.question" event is thrown. 
2) Event counts for "event", "event.punc" and "event.punc.question" are
incrmented to 1. 
3) The handler <catch event="event.punct.question" count="1"> is
4) A "event.punc.exclamation" is thrown. 
5) Event counts for "event", "event.punc" are incremented to 2, and
"event.punc.exclamation" is incrmented to 1. 
6) The handler of <catch event="event" count="2"> is selected because
"event" is a prefix match of "event.punc.exclamation", and the event
count for "event" is 2.

The test expects that step 6 should have selected <catch
event="event.punc.exclamation" count="1">.  However, the spec states to
select the handler with the highest count less than or equal to the
"current count".  If "current count" in the last case is "event", then
the correct handler was selected (and the test is wrong).  If "current
count" is 1, then I am using the wrong count.

However, if "current count" is 1, then why are we required to maintain
counts for each sub-element of an event?  i.e.,
"event.punct.exclamation", "event.punct" and "event".
Received on Wednesday, 7 May 2003 21:30:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:36 UTC