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

clarification needed on VoiceXML 2.0

From: Shiva Kumar <shivakumarr@huawei.com>
Date: Fri, 23 Jun 2006 12:04:27 +0530
To: www-voice@w3.org
Cc: voicexml@yahoogroups.com
Message-id: <0bd601c6968f$13e8c730$5b05120a@china.huawei.com>
Hi,
 
  In voiceXML 2.0 specification in section 2.4 <filled> element it is given that 

" For a <filled> in a form, namelist defaults to the names (explicit and implicit) of the form's input items. A <filled> element in an input item cannot specify a namelist (the namelist in this case is the input item name); if a namelist is specified, then an error.badfetch is thrown by the platform upon encountering the document. Note that control items are not permitted in this list; an error.badfetch is thrown when the document contains a <filled> element with a namelist attribute referencing a control item variable. "

    But if we give an undeclared variable in the namelist, what should be the behaviour of the interpreter? as the specification says that,if no namelist is provided all the form's input item will be selected.But here i am providing a variable which is not declared.

Please let me know whether i need to ignore that variable or throw any error. 
This is not provide in the specification.

script is given below:

<form>

<field name="test">

<prompt bargein="false">Please say the hi or bye</prompt>

<grammar>hi|bye</grammar>

</field>

<filled namelist="test1">

<prompt>pass</prompt>

</filled>

</form>


Waiting for the comments...

Thanks and Regards,
Shiva Kumar

  *************************************************************************************************************************************************
 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 Saturday, 24 June 2006 02:13:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:49:03 GMT