W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2005

SCXML Variable Scope

From: Skip Cave <Skip.Cave@intervoice.com>
Date: Tue, 18 Oct 2005 11:56:04 -0500
Message-ID: <6E80E3E8D788BA4DB7EEFC88FBE9B01307A6411D@SRV-EXVS01-DAL.intervoice.int>
To: <www-voice@w3.org>


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 :



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:



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


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

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