SCXML Variable Scope

Sirs, 

 

Most mark-up languages have a defined scope for variables. For example,
VXML has three scopes: application, document, and form or dialog. Here
is an excerpt from the VXML spec document defining the variable scopes :

 

VXML:

Variables declared at the <form> level will be given dialog scope, while
variables declared at the <vxml> level will be given document scope.
Variables declared at the <vxml> level within the application root
document will inherit application scope

 

CCXML has two variable scopes, application, and block. Here is an
excerpt from the CCXML spec document defining the variable scopes:

 

CCXML:

A CCXML variable name which defines a variable scope; <ccxml> and
<transition> are CCXML scope elements. Variables which are defined
within a scope element are not visible to variables defined in other
scope elements. For instance, a variable declared at ccxml (document)
scope can be referenced anywhere within that document, whereas a local
variable declared in a <transition> is only available within that
element.  The implementation MUST define two scopes - ccxml and
transition

 

The SCXML specification doesn't seem to define any variable scopes. Is
it planned for SCXML to have variable scoping? Or is there to be no
variable scoping in SCXML? 

 

 

Ellis K. 'Skip' Cave

Chief Scientist

Intervoice Inc.

 

' 972.454.8800 (office)

' 214.460.4861 (cell)

* skip.cave@intervoice.com <mailto:skipaskip.cave@intervoice.com> 


This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information.  If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments.

Received on Wednesday, 19 October 2005 07:42:59 UTC