[jboss-user] [JBoss jBPM] - change xml Schema to jpdl-3.1.xsd

asmo do-not-reply at jboss.com
Mon Jan 8 09:09:00 EST 2007

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: 

  |   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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999017#3999017

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999017

More information about the jboss-user mailing list