You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ate Douma (JIRA)" <ji...@apache.org> on 2014/10/10 00:49:34 UTC

[jira] [Created] (SCXML-209) Incomplete legal state configuration validation in ModelUpdater

Ate Douma created SCXML-209:
-------------------------------

             Summary: Incomplete legal state configuration validation in ModelUpdater
                 Key: SCXML-209
                 URL: https://issues.apache.org/jira/browse/SCXML-209
             Project: Commons SCXML
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Ate Douma
            Assignee: Ate Douma
             Fix For: 2.0


The current legal state configuration check in ModelUpdater where it validates if transition targets turns out to be too simplistic, e.g. not covering all allowed configurations as specified in http://www.w3.org/TR/scxml/#LegalStateConfigurations.

The current implementation assumes the least common parallel ancestor is the root state, while it also is legal to have this parallel on a deeper level.

I'll add a few unit tests and fix the implementation to be more compliant with the specification.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)