[VXML 2.0] Handling <param> when <subdialog> src points to a <menu>

Hi,

 

VXML 2.0 section 2.3.4 for subdialog says:

 

The <subdialog> element may contain elements common to all form items, and
may also contain <param> elements. The <param> elements of a <subdialog>
specify the parameters to pass to the subdialog. These parameters must be
declared as <var> elements in the form executed as the subdialog or an
error.semantic will be thrown. When a subdialog initializes, the subdialog's
form level <var> elements are initialized in document order to the value
specified by the <param> element with the corresponding name

 

Consider the case where the target URI of  <subdialog> corresponds to a
<menu>. <menu> cannot contain <var> elements. Assume <subdialog> has
specified <param> elements, how should the interpreter behave?

 

Should the interpreter throw error.semantic because there is no dialog
scoped <var> corresponding to the <param>?  Or should the interpreter
process the <menu>, ignoring the <param>s?

 

Thanks

Rajesh

 

Received on Friday, 8 May 2009 08:50:16 UTC