|
Genesys 8.1 SCXML Technical Reference |
||
< SCXML Data Types Supported ECMAScript Support > |
An application developer will use the xsi:schemaLocation attribute in the <scxml>
element to identify which version of the Genesys SCXML schema the given application needs to use. This attribute is needed since both the <scxml>
version attribute and xmlns attributes have specified values defined by the standard that cannot be changed.
The xsi:schemaLocation provides the location of the schema documents. See section 5.6 schemaLocation of the XML Schema Primer [10] for more information. The platform will only examine the filename and ignore namespace and path information in this attribute to determine the version the application needs.
The different versions of SCXML used by the engine are versioned in the following manner:
The current version will use the scxml-profile-genesysV10.xsd schema file.
Future versions will use different filenames.
If the xsi:schemaLocation attribute is not present, the platform will assume the latest version it supports.
For example, the following declaration is for the current implementation:
<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xsi:schemaLocation=" http://www.w3.org/2005/07/scxml scxml-profile-genesysv10.xsd" xmlns:queue="http://www.genesyslab.com/modules/queue" name="Basic Routing Strategy example" profile="ECMAScript" initial="initial">
Non-Orchestration uses of SCXML will maintain this naming scheme.
|
Genesys 8.1 SCXML Technical Reference |
||
< SCXML Data Types Supported ECMAScript Support > |