3 Replies Latest reply on Jul 13, 2009 12:11 PM by kukeltje

    change xml Schema to jpdl-3.1.xsd

    asmo

      Hi all!

      Until know, i have used jpdl 3.0 ( xml schema http://jbpm.org/xsd/jpdl-3.0.xsd )

      But know, i want to use the asynchron execution of nodes and therefore i must change my xml schema to jpdl 3.1.

      I have tried to change the processdefinition in this way:

      <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.1.xsd"
       name="activityWorkflow">


      But i got an error :
      14:22:47,953 DEBUG [JpdlParser] resolving schema reference publicId(null) systemId(http://jbpm.org/jpdl-3.0.xsd)
      14:22:47,953 DEBUG [JpdlParser] providing input source to local 'jpdl-3.0.xsd' resource
      14:22:48,078 ERROR [LogInterceptor] EJBException in method: public abstract de.uniSiegen.crm.server.beans.stateless.interfaces.Workflow de.uniSiegen.crm
      .server.beans.stateless.interfaces.WorkflowHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException, causedBy:
      org.jbpm.jpdl.JpdlException: [[ERROR] line 81: cvc-complex-type.3.2.2: Attribute 'async' is not allowed to appear in element 'node'.]
       at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
       at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
       at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
      


      It seems as if furthermore jpdl 3.0 is used.
      Where can i change the xml schema????

      I use the jbpm 3.1.1 starterkit.

      Thanks,
      asmo



        • 1. Re: change xml Schema to jpdl-3.1.xsd
          asmo

          It seems, that i could solve the problem. i have changed the processdefinition and there is no error any more.....

          <process-definition
           xmlns="urn:jbpm.org:jpdl-3.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.1.xsd"
           name="activityWorkflow">
          


          • 2. Re: change xml Schema to jpdl-3.1.xsd

            Guys,

            I am using JBPM-JPDL-Suite.3.2.G.A on LINUX and have used IDE Eclipse 3.2.
            every time I try including a process flow, it gives me a error as follows

            "Processing Dirty regions"
            "Referenced Grammars "
            org.eclipse.wst.common.uriresolver.URIResolverExtension

            Thanks in advance.

            • 3. Re: change xml Schema to jpdl-3.1.xsd
              kukeltje

              Please upgrade to something newer first and see if the problem persists