<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/14/11 9:27 PM, Wen Yao wrote:
<blockquote
cite="mid:AANLkTinRqig_5=Z=Q0J959=Rtm1EvFkZLt9Kc_hGh2B5@mail.gmail.com"
type="cite">Hi,<br>
<br>
When I was working on a project using Drools-flow, I had some
problems with the "lane" and "laneset".<br>
<br>
1. In eclipse, I used the Flow editor to create a process and add
some swimlanes. When I tried to run it, it always had this error:
org.xml.sax.SAXParseException: <lane> is after an invalid
element: org.drools.xml.Handler<br>
Then I looked into the XML file and changed the following code:<br>
<br>
<laneSet><br>
<lane name="Patient" ><br>
</lane><br>
<lane name="Doctor" ><br>
</lane><br>
</laneSet><br>
<br>
to:<br>
<laneSet><br>
<lane name="Patient" ><br>
</lane><br>
</laneSet><br>
<laneSet><br>
<lane name="Doctor" ><br>
</lane><br>
</laneSet><br>
It worked. Could you explain why?<br>
</blockquote>
<br>
Are you using jbpm-5.0-Final? I am not able to reproduce the
mentioned error. Upload your bpmn2 please.<br>
<blockquote
cite="mid:AANLkTinRqig_5=Z=Q0J959=Rtm1EvFkZLt9Kc_hGh2B5@mail.gmail.com"
type="cite"><br>
2. I created a process in the web-based oryx designer with a pool
that contains several lanes. Then I imported this file in Eclipse,
which cannot open it correctly because of the lane issue, since
the format in oryx exported file is like this:<br>
<laneSet id="XXX"><br>
<lane name="Patient" ><br>
</lane><br>
<lane name="Doctor" ><br>
</lane><br>
</laneSet><br>
</blockquote>
Oryx follows the bpmn2 schema correctly. <br>
<blockquote
cite="mid:AANLkTinRqig_5=Z=Q0J959=Rtm1EvFkZLt9Kc_hGh2B5@mail.gmail.com"
type="cite"><br>
3. The bpmn file I created in Eclipse, although validated to be
correct, cannot be imported in Oryx. I am wondering whether it can
be done this way.<br>
</blockquote>
Is this after you made your custom xml changes? <br>
<blockquote
cite="mid:AANLkTinRqig_5=Z=Q0J959=Rtm1EvFkZLt9Kc_hGh2B5@mail.gmail.com"
type="cite">
<br>
Could you kindly address my concerns? <br>
<br>
Thank you very much!<br>
<br clear="all">
<br>
<br clear="all">
Best regards,<br>
----<br>
Wen <br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>