commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Quéran <loic.que...@gmail.com>
Subject [SCXML] Parallel serialization problem
Date Wed, 23 Sep 2009 09:40:09 GMT
A parallel can have nested parallel children (and history) in addition to
state. I am afraid SCXMLSerializer.serializeParallel() does not handle this
properly. A quick replacement in HEAD revision could be

while (i.hasNext()) {
            TransitionTarget tt = (TransitionTarget)i.next();
            if (tt instanceof State) {
                serializeState(b, (State) tt, indent + INDENT);
            } else if (tt instanceof Parallel) {
                serializeParallel(b, (Parallel) tt, indent + INDENT);
            }
            // serializeHistory
        }

Will this be handled in http://issues.apache.org/jira/browse/SCXML-72 ? Is
there an expected release date ?

Loïc

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message