You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Dark.Rider85" <da...@yahoo.de> on 2011/10/17 14:43:57 UTC

[SCXML] Ignoring element

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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [SCXML] Ignoring element

Posted by Rahul Akolkar <ra...@gmail.com>.
On Mon, Oct 17, 2011 at 8:43 AM, Dark.Rider85 <da...@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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org