[Voiceglue] VXML <assign> tag not working?
emiliano esposito
emiespo at tiscali.it
Thu Jan 29 18:43:25 EST 2009
As in subject, I can't get it working... is it a OVXI bug?
I've a global application var that can be accessed via scoping, ie
<var name="var" expr="'something'" />
<form id="somewhere">
<block>
<prompt>Var is: <value expr="application.var" /></prompt><!--
"application" scope is not necessary, but works -->
</block>
</form>
perfectly works, and produces: "Var is: something".
But I need to assign a menu-dependent value (so it is inside another
context), and access it elsewhere, like this:
<menu id="n1">
[...]
<assign name="application.var" expr="..." />
[...]
</menu>
as documented here: http://www.w3.org/TR/voicexml20/#dml5.3.2
But that doesn't work at all. What is worse is that even this code
doesn't work:
<assign name="var" expr="..." /> <!-- var has been defined elsewhere -->
<value expr="var" /> <!-- reports the value given in declaration -->
Or this, that should issue some sort of error, according to W3C
documentation:
<assign name="var" expr="..." /> <!-- var has NOT been defined, so issue
an error -->
Is there a way to correct this or is a documented bug of OVXI?
Thanks.
More information about the Voiceglue
mailing list