W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2007

RE: SCXML synchronization

From: Barnett, James <James.Barnett@aspect.com>
Date: Thu, 12 Jul 2007 08:51:52 -0400
Message-ID: <57686697B4E28949A90094A6469165C702434231@ASP1EXCH1.aspect.com>
To: "Christian Frank" <christian.frank1@tele2.de>, <www-voice@w3.org>
The <join> tag is not needed due to the In() predicate, which can be
used to test if the machine is in a given state.  If you want to have
transition T in one parallel region wait until another parallel region
reaches state s', add In(s') to T's condition.  


- Jim



From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Christian Frank
Sent: Monday, July 09, 2007 7:59 AM
To: www-voice@w3.org
Subject: SCXML synchronization



I'm using SCXML for a simple project and I have a problem.
I don't know how to synchronize several parallel states.

In the specification of 2006 there was the <join> tag and a simple
example how to use it:

<?xml version="1.0" encoding="us-ascii"?>
<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml"> 
      <state id="S1">
        <state id="S11">
          <transition target next ="S12 synch1"/>
        <state id="S12">
          <transition target next="S13"/>
    &n bsp;   </state>
        <state id="S13"/>
      <state id="S2">
        <state id="S21">
          <transition target="S12"/>
        <state id="S22>
          <transition target="j1"/>
        <state id="S23"/>
        <join id="j1">
        <transition target="S23"/>

How would this example look like with the new specification of 2007?
And why is there no <join> tag?

Received on Thursday, 12 July 2007 12:52:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:54 UTC