This content has been marked as final.
Show 8 replies
-
1. Re: Why is this invalid?
dharraj Oct 27, 2005 7:53 PM (in response to dharraj)What happen to rest of my message....
Here it is again.
val -
2. Re: Why is this invalid?
kukeltje Oct 28, 2005 1:28 AM (in response to dharraj)use the code tags to display code or xml
-
3. Re: Why is this invalid?
kukeltje Oct 28, 2005 1:29 AM (in response to dharraj)there is no close tag on tha param
-
4. Re: Why is this invalid?
dharraj Oct 28, 2005 6:25 PM (in response to dharraj)<state name="first"> <event type="node-enter"> <action name="action1" class="jpl.mipl.pgs.jbpm.action.SetUpEnv"> <UPFFileName>somevalue</UPFFileName> </action> </event> <transition name="to_end" to="end"> <action name="action" class="com.sample.action.MessageActionHandler"> <message>About to finish!</message> </action> </transition> </state>
-
5. Re: Why is this invalid?
kukeltje Oct 29, 2005 1:23 PM (in response to dharraj)2 things. The code you post now is different from the code you posted earlier:
<node name="B1N1"> <event type="node-enter"> <action name="action1" class="myclass"> <param>val </action> </event> <transition name="tr1" to="B1N2"></transition> </node>
Second. Why do you think the recent code you posted is invalid? -
6. Re: Why is this invalid?
dharraj Oct 31, 2005 12:31 PM (in response to dharraj)Sorry for posting two different set of code. It is invalid because I get the following exception. The GUI allows this, however.
[[ERROR] process definition line 27: cvc-complex-type.2.4.a: Inv alid content was found starting with element 'transition'. One of '{"http://jbpm.org/3/jpdl":event, "http ://jbpm.org/3/jpdl":timer, "http://jbpm.org/3/jpdl":exception-handler}' is expected.] org.jbpm.jpdl.JpdlException: [[ERROR] process definition line 27: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transition'. One of '{"http://jbpm.org/3/jpdl":event, "http://jbpm.org/ 3/jpdl":timer, "http://jbpm.org/3/jpdl":exception-handler}' is expected.]
-
7. Re: Why is this invalid?
koen.aers Nov 1, 2005 5:33 AM (in response to dharraj)We use the code completion feature of the WTP XML editor under the hood of the GPD. There are some known issues with it, but I have seen they are working on fixing those. I guess for the moment, we'll just have to bear with the inaccurate completion.
Regards,
Koen -
8. Re: Why is this invalid?
tobysaville Nov 1, 2005 10:59 AM (in response to dharraj)does changing the order of the transition and event tags fix it?