<!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: &lt;lane&gt; is after an invalid
      element: org.drools.xml.Handler<br>
      Then I looked into the XML file and changed the following code:<br>
      <br>
      &lt;laneSet&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Patient" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Doctor" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &lt;/laneSet&gt;<br>
      <br>
      to:<br>
      &lt;laneSet&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Patient" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &lt;/laneSet&gt;<br>
      &lt;laneSet&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Doctor" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &lt;/laneSet&gt;<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>
      &lt;laneSet id="XXX"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Patient" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lane name="Doctor" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lane&gt;<br>
      &lt;/laneSet&gt;<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>