[SCXML] Ignoring raise element

2011-10-17 Thread Dark.Rider85

Hi!
I wanted to use the raise element but when parsing the .xml file the 
processor says the following warning:


Ignoring element raise in namespace http://www.w3.org/2005/07/scxml; 
at bundleresource:***.xml:9:38 and digester match 
scxml/state/state/onentry/raise


What is the meaning of that warning? And how do I solve the problem?
Here is an extract of my xml file:

...
state id=State1 initial=SubState1_1
state id=SubState1_1
transition event=event.SubState1_2 target=SubState1_2/
onentry
my:customSay id=Hello SubState1_2!/
raise event=event.SubState1_2/
/onentry
/state
state id=SubState1_2
transition event=event.SubState1_3 target=SubState1_3/
onentry
my:customSay id=Hello SubState1_3!/
raise event=event.SubState1_3/
/onentry
/state
/state
...

Thanks in advance!

Best regards

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [SCXML] Ignoring raise element

2011-10-17 Thread Rahul Akolkar
On Mon, Oct 17, 2011 at 8:43 AM, Dark.Rider85 dark.ride...@yahoo.de wrote:
 Hi!
 I wanted to use the raise element but when parsing the .xml file the
 processor says the following warning:

 Ignoring element raise in namespace http://www.w3.org/2005/07/scxml; at
 bundleresource:***.xml:9:38 and digester match
 scxml/state/state/onentry/raise

 What is the meaning of that warning? And how do I solve the problem?
snip/

The raise action wasn't implemented then. You can use send without
a target or type for the same effect below.

-Rahul


 Here is an extract of my xml file:

 ...
 state id=State1 initial=SubState1_1
 state id=SubState1_1
 transition event=event.SubState1_2 target=SubState1_2/
 onentry
 my:customSay id=Hello SubState1_2!/
 raise event=event.SubState1_2/
 /onentry
 /state
 state id=SubState1_2
 transition event=event.SubState1_3 target=SubState1_3/
 onentry
 my:customSay id=Hello SubState1_3!/
 raise event=event.SubState1_3/
 /onentry
 /state
 /state
 ...

 Thanks in advance!

 Best regards


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org