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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Rajesh N-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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