Hi, we are trying to parse a very simple process definition xml file. We are using the following environment:
-jbpm 3.2.2ga -XercesImpl 2.2.1 paser on the Classpath -Java 1.4.2_13 When we attempt to load the xml, the validation is failing. We suspect that there is nothing wrong with our xml file, and in fact, the problem lies with the xsd. This is the xml we are trying to parse: <process-definition xmlns="urn:jbpm.org:jpdl-3.2"> | <start-state> | <transition to='s' /> | </start-state> | <state name='s'> | <transition to='end' /> | </state> | <end-state name='end' /> | </process-definition> We get the following exception from jBPM: anonymous wrote : org.jbpm.jpdl.JpdlException: [[ERROR] line 366: cos-ct-extends.1.4.2.2.2.2.1: Error for type '#AnonType_assignment'. The content type of a derived type and that of its base must both be mixed or element-only., [ERROR] line 1: cvc-complex-type.4: Attribute 'name' must appear on element 'process-definition'.] | at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:172) | at org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:151) We've seen this problem posted before with no responses. Does anyone know why this is happening? Is it a problem with the xsd or are we doing something wrong? Thanks, Caleb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112995#4112995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112995 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
