3 Replies Latest reply on Jan 19, 2006 4:03 AM by koen.aers

    GPD 3.0.4 - Eclipse 3.1-Error in start state

    pjmvn

      I have download the lastest GPD 3.0.4, and edit this code:

      <process-definition
       xmlns="http://jbpm.org/3/jpdl"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
       name="DataBaseAccess">
       <swimlane name="start process">
       <assignment expression="user(Every One)" class=""></assignment>
       </swimlane>
       .....
       <start-state name="New">
       <task swimlane="start process">
       <controller>
       <variable name="ID"/>
       <variable name="Name"/>
       <variable name="Address"/>
       </controller>
       </task>
      ....
      

      This code is ok in old version but this version of GPD, i have an error:
      cvc-complex-type.2.4.a: Invalid content was found starting with element 'start-state'. One of
       '{"http://jbpm.org/3/jpdl":swimlane, "http://jbpm.org/3/jpdl":state, "http://jbpm.org/3/jpdl":task-
       node, "http://jbpm.org/3/jpdl":super-state, "http://jbpm.org/3/jpdl":process-state, "http://jbpm.
       org/3/jpdl":node, "http://jbpm.org/3/jpdl":fork, "http://jbpm.org/3/jpdl":join, "http://jbpm.
       org/3/jpdl":decision, "http://jbpm.org/3/jpdl":end-state, "http://jbpm.org/3/jpdl":action, "http:
       //jbpm.org/3/jpdl":script, "http://jbpm.org/3/jpdl":create-timer, "http://jbpm.org/3/jpdl":cancel-
       timer, "http://jbpm.org/3/jpdl":task, "http://jbpm.org/3/jpdl":event, "http://jbpm.org/3/jpdl":
       exception-handler}' is expected.


      What is this? Why do i have this error??