[
https://issues.apache.org/jira/browse/SCXML-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ingmar Kliche updated SCXML-62:
-------------------------------
Description:
Commons SCXML does not yet support the fragment URL notation for refering to
individual states. As this is a very useful feature for composing state
machines I would like to see support for it.
was:
It is not possible to source in the content of a state (from an external
document) multiple times into a scxml state machine (even though there are only
transitions in the sourced state, i.e. there are no conflicts on state id's).
external-02-base.xml:
---------------------------------
<scxml version="1.0"
xmlns="http://www.w3.org/2005/07/scxml"
id="base"
initialstate="s1">
<state id="s1">
<initial>
<transition target="s1.s11" />
</initial>
<state id="s1.s11" src="external-02-src.xml#sext" />
<state id="s1.s12" src="external-02-src.xml#sext" />
</state>
</scxml>
external-02-src.xml:
----------------------------
<scxml version="1.0"
xmlns="http://www.w3.org/2005/07/scxml"
id="statesrc_ext"
initialstate="sext">
<state id="sext">
<transition event="foo" />
</state>
</scxml>
Testcase:
------------------
public void testExternal02() {
// (1) Get a SCXMLExecutor
exec = SCXMLTestHelper.getExecutor(external02);
}
Error: Initial state null or not a descendant of state with ID "s1.s11"
Issue Type: New Feature (was: Bug)
Summary: Enhancement request for supporting fragment URLs in <state>'s
src attribute (was: Error on sourcing in content of states multiple times)
> Enhancement request for supporting fragment URLs in <state>'s src attribute
> ---------------------------------------------------------------------------
>
> Key: SCXML-62
> URL: https://issues.apache.org/jira/browse/SCXML-62
> Project: Commons SCXML
> Issue Type: New Feature
> Affects Versions: 0.6
> Reporter: Ingmar Kliche
>
> Commons SCXML does not yet support the fragment URL notation for refering to
> individual states. As this is a very useful feature for composing state
> machines I would like to see support for it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.