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

[VXML 2.0] Handling <prompt count="0"> during prompt selection

From: Rajesh N <rajeshn@huawei.com>
Date: Mon, 04 May 2009 11:18:32 +0530
To: www-voice@w3.org
Message-id: <003a01c9cc7b$f5dee8c0$2001120a@china.huawei.com>
Hi, 

 

The VXML 2.0 specification says the default value of count attribute for
<prompt> is "1", and that during form initialization phase, Internal prompt
counter variables (in the form's dialog scope) are reset to 1.

 

In this scenario, how should a <prompt> with count attribute explicitly set
as "0" be handled??

 

<?xml version="1.0" encoding="UTF-8"?> 

<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" >

<form id="tapered">

  <field name="flavor">

  <grammar mode="voice" version="1.0" root="root">

    <rule id="root" scope="public">

      <one-of>

        <item>vanilla </item>

        <item>chocolate</item>

        <item>strawberry</item>

     </one-of>

    </rule>

   </grammar>

   <prompt count="0"> Welcome to my ice-cream shop!! </prompt>

   <prompt count="1">What is your favorite flavor?</prompt>

   <prompt count="3">Say chocolate, vanilla, or strawberry.</prompt>

   <help>Sorry, no help is available.</help>

  </field>

</form>

</vxml>

 

Should the prompt "Welcome to my ice-cream shop!!" get queued for play?

 

Thanks

Rajesh

 

This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 
Received on Monday, 4 May 2009 05:51:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 May 2009 05:51:45 GMT