Hello, I can deploy the examples delivered with Activiti. But when I create a simple process in Signavio and try to deploy it in a TestCase (using the @ProcessDeclared), I have the following errors :org.activiti.ActivitiException: couldn't parse InputStream: cvc-elt.1: Cannot find the declaration of element 'definitions'.
[…]
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'definitions'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
.In fact the definitions part of the .bpm20.xml file generated by Signavio is different from the one in the Activiti examples:Signavio :<definitions id="oryx_d70f7235-8c24-43f5-bce4-5c2bb2b01b08"
typeLanguage="http://www.w3.org/2001/XMLSchema"
expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://www.omg.org/bpmn20"
xmlns="http://schema.omg.org/spec/BPMN/2.0"
xmlns:bpmndi="http://bpmndi.org">
Activiti Examples :<definitions id="definitions"
typeLanguage="http://www.w3.org/2001/XMLSchema"
expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://activiti.org/bpmn20"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn-extensions">
I I simply change in my signavio xml file the definitions and put the ones taken in the activiti examples, then I begin having lots of errors linked to the xml format.For example :org.activiti.ActivitiException: couldn't parse InputStream: cvc-complex-type.2.4.a: Invalid content was found starting with element 'flowElementRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL':documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL':extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL':partitionElement, "http://www.omg.org/spec/BPMN/20100524/MODEL':flowNodeRef, "http://www.omg.org/spec/BPMN/20100524/MODEL':childLaneSet}' is expected.So my questions are :- Is my install of Signavio not good ?- Is there somewhere an option in Signavio modeler to indicate that we want "Activiti compatible" xml ?- Am I wrong somewhere ?Thanks for your anwsers !Fab