commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Salzbrunn <>
Subject SCXML initial state for orthogonal state
Date Tue, 26 Feb 2008 10:55:08 GMT
Hello all,
I am new to SCXML and first tried to run a general  example for a parallel state:

<?xml version="1.0" encoding="windows-1250"?>
<scxml xmlns=""
    <state id="mainState"> 
        <parallel id="parts">
            <state id="region1">
                    <transition target="state1"/>
                <state id="state1">
                    <transition event="t1" target="state2"/>
                <state id="state2">
                    <transition event="t2" target="state1"/>
            <state id="region2">
                    <transition target="state3"/>
                <state id="state3">
                    <transition event="t1" target="state4"/>
                <state id="state4">
                    <transition event="t3" target="state3"/>

running the resp. java programm yields to following error-log: logAndThrowModelError
SCHWERWIEGEND: No initial element available for state with ID "mainState"

IMHO the "mainState" does not need to have an initial element, because the 
substates have initial elements.

Any comments?

Thanks in advance

Jetzt neu! Sch├╝tzen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message