W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2007

Re: Suggestion for grammar element in VoiceXML 2.1

From: harbhanu <harbhanu@huawei.com>
Date: Wed, 28 Feb 2007 12:27:43 +0530
To: 'Matt Oshry' <matto@tellme.com>
Cc: www-voice@w3.org
Message-id: <004e01c75b05$c1616c60$b304120a@china.huawei.com>
Hi Matt,

In continuation with my previous mails.. let me try to explain more ...


When would an application programmer want to put a grammar element at dialog
or higher levels...??

>>> I think that for cases where the grammar is to be activated for all
input items (non-modal).[The crux is that these grammars are DEFINED with
the ASR only once and then just activated as and when needed for all the
input items.]


Now, why would an application programmer use a grammar element with
'srcexpr' attribute.??

>>> When the grammar can evaluate to a different URI for the current input
item. [These grammars have to re-DEFINED with the ASR before actually
activating them for current input item].


But then if the same grammar element with 'srcexpr' is present at dialog or
higher level..then the whole advantage of reusing the grammar (defined once
during initialization of dialog or document) for each input item is not
utilized.since the grammars have to be again DEFINED with the ASR for each
input item..


In case we want to DEFINE different grammar for each input item, then the
right place for that should be within the input item.since the grammar is
never reused even though its present at dialog level.


That said...may be this cannot be added as a restriction in specification,
but IMHO if an application uses 'srcexpr' in this way.then it needs some

Please let me know in case my understanding is not correct.


Thanks !!







            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 Wednesday, 28 February 2007 08:55:47 UTC

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