- SCXML
Infobox file format
name = State Chart XML
icon =
logo =
extension = .scxml
mime =
type code =
uniform type =
magic =
owner =World Wide Web Consortium
genre =Markup language
latest release version = 4th Public working draft
latest release date =May 15 ,2008
container for =
contained by =
extended from =XML
extended to =
url = [http://www.w3.org/TR/scxml/ http://www.w3.org/TR/scxml/]SCXML stands for State Chart XML: State Machine Notation for Control Abstraction. It is an
XML -basedmarkup language which provides a generic state-machine based execution environment based on Harel statecharts.SCXML is able to describe complex state-machines. For example, it is possible to describe notations such as sub-states, parallel states, synchronization, or concurrency, in SCXML.
Goals
The objective of this standard is to generify state diagrams notations which are already used in other XML contexts. For example, it is expected that SCXML notations will replace the State machines notations used in the next
CCXML 2.0 version (an XML standard designed to providetelephony support to VoiceXML). It could also be used as a multimodal control language in the Multimodal Interaction Activity.One of the goals of this language is to make sure that the language is compatible with CCXML and that there is an easy path for existing CCXML scripts to be converted to SCXML without major changes to the programming model or document structure (for example, by using an XSL Transformation).
The last working draft of the specification was released by the W3C in
May 2008 . [cite web
url=http://www.w3.org/News/2008#item95
title=State Chart XML (SCXML) Working Draft Published
publisher=World Wide Web Consortium
date=2008-05-16
accessdate=2008-05-17]Example
Here is the state chart diagram which describes the behavior of a stopwatch:
The SCXML file describing the transitions in this diagram is:
(Apache Licenced, see on [http://jakarta.apache.org/commons/scxml/usecases/scxml-stopwatch.html this page] )
Implementations
* [http://www.intervoice.com/index.php/prod_media_exchange.html Intervoice Media Exchange] contains an orchestration engine which has been designed to initiate and manage media interactions. It is the industry's first commercially available product which has implemented State Chart eXtensible Markup Language (SCXML) as the framework for building complex multi-modal interactions.
* [http://jakarta.apache.org/commons/scxml/ Apache Commons SCXML] , a pure Java library to parse and execute SCXML diagrams
* [http://www.ling.gu.se/~lager/Labs/SCXML-Lab/ Web interface to an experimental SCXML implementation in the Oz programming language]
* [http://www.sscxml.com Simple State Chart XML] provides the first publicly available SCXML C++ implementation.ee also
*
VoiceXML
*CCXML References
External links
* [http://www.w3.org/TR/scxml/ W3C SCXML last working draft]
Wikimedia Foundation. 2010.