[SCXML] Automatic forward of external events to 'd components ?

2007-07-06 Thread Ingmar Kliche
Rahul, it seems to me that the current implementation automatically forwards (external) events to 'd child state machines (or other components): see: triggerEvents() of SCXMLExecuter.java // Forward events (external only) to any existing invokes, // and finalize processing semantics.proce

[SCXML] Terminate/Halt SCXML state machine from external

2007-07-06 Thread Ingmar Kliche
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). H

Re: [SCXML] Terminate/Halt SCXML state machine from external

2007-07-06 Thread Ingmar Kliche
2007/7/6, Rahul Akolkar <[EMAIL PROTECTED]>: 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 . I presume there is some reason you can't do it that wa

Re: [SCXML] Terminate/Halt SCXML state machine from external

2007-07-06 Thread Ingmar Kliche
> 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 . I > presume there is some reason you can't do it that way. One major reason is that I don't

Re: [SCXML] Inject external event with XML payload () into SCXML engine

2007-07-09 Thread Ingmar Kliche
. 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 PROTECTE

Re: [SCXML] Automatic forward of external events to 'd components ?

2007-07-12 Thread Ingmar Kliche
2007/7/6, Rahul Akolkar <[EMAIL PROTECTED]>: It is my interpretation of, quoted from your reference: "Note that the 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 invok

[SCXML] Difficulties with XPath expression on XML attributes

2007-07-13 Thread Ingmar Kliche
I have difficuties to select a node using XPath. I use an EMMA XML repesented input: 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 http://www.w3.org/TR/2007/WD-emma-20070409/emma.xsd"; xmlns=

Re: [SCXML] Difficulties with XPath expression on XML attributes

2007-07-15 Thread Ingmar Kliche
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: > > xmlns:emma="http://www.w3.org/2003/04/emma&quo

Re: [SCXML] Automatic forward of external events to 'd components ?

2007-07-15 Thread Ingmar Kliche
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 e