Thanks!
- Ingmar.
2007/7/13, Rahul Akolkar [EMAIL PROTECTED]:
On 7/13/07, Ingmar Kliche [EMAIL PROTECTED] wrote:
I have difficuties to select a node using XPath. I use an EMMA XML
repesented input:
emma:emma version=1.0
xmlns:emma=http://www.w3.org/2003/04/emma;
xmlns:xsi=http
2007/7/13, Rahul Akolkar [EMAIL PROTECTED]:
On 7/12/07, Ingmar Kliche [EMAIL PROTECTED] wrote:
2007/7/6, Rahul Akolkar [EMAIL PROTECTED]:
It is my interpretation of, quoted from your reference:
Note that the invoke element may be used to invoke an external
SCXML interpreter
I have difficuties to select a node using XPath. I use an EMMA XML
repesented input:
emma:emma version=1.0
xmlns:emma=http://www.w3.org/2003/04/emma;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.w3.org/2003/04/emma
2007/7/6, Rahul Akolkar [EMAIL PROTECTED]:
It is my interpretation of, quoted from your reference:
Note that the invoke element may be used to invoke an external
SCXML interpreter to execute a different state machine. In this case,
the external state machine acts as a set of substates of the
.
2007/7/6, Rahul Akolkar [EMAIL PROTECTED]:
Please post to the user list if the question is purely about usage
(though I understand determining that can be tricky sometimes). If
this thread continues, we should probably move it to the user list.
On 7/5/07, Ingmar Kliche [EMAIL PROTECTED] wrote
Rahul,
it seems to me that the current implementation automatically forwards
(external) events to invoke'd child state machines (or other components):
see: triggerEvents() of SCXMLExecuter.java
// Forward events (external only) to any existing invokes,
// and finalize processing
I need to terminate a state machine instance from external (i.e. not from
markup) to prevent it to process any further event. A SCXMLExecuter.reset()
is unfortunately more than a pure reset, it is also a go (i.e. the
initial state is executed and therefore the state machine is again active).
How
I think doing this without markup should generally be avoided since it
makes the model incomplete. So, for example, an abrupt termination
would be an event trigger that takes us to a particular final. I
presume there is some reason you can't do it that way.
One major reason is that I