tiku01 / oryx-editor

The New Home of the Oryx-Editor
Other
18 stars 8 forks source link

BPMN import - missing or no elements with non-trivial models #542

Open tiku01 opened 9 years ago

tiku01 commented 9 years ago

While BPMN imports seem to work for simple models exported from Oryx, more complex models lead to either only few elements being displayed or the import being aborted with the message "error during xml serialization". The following is shown in the log during import of a model exported from another tool (Signavio).

javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"collaboration"). Expected elements are <{http://schema.omg.org/spec/BPMN/2.0}activityResource>,<{http://bpmndi.org}activityShape>,<{http://schema.omg.org/spec/BPMN/2.0}adHocSubProcess>,<{http://schema.omg.org/spec/BPMN/2.0}association>,<{http://bpmndi.org}associationConnector>,<{http://schema.omg.org/spec/BPMN/2.0}boundaryEvent>,<{http://bpmndi.org}bpmnCompartment>,<{http://schema.omg.org/spec/BPMN/2.0}businessRuleTask>,<{http://schema.omg.org/spec/BPMN/2.0}callActivity>,<{http://schema.omg.org/spec/BPMN/2.0}callConversation>,<{http://bpmndi.org}callConversationShape>,<{http://bpmndi.org}calledSubprocessShape>,<{http://schema.omg.org/spec/BPMN/2.0}cancelEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}choreography>,<{http://bpmndi.org}choreographyActivityShape>,<{http://bpmndi.org}choreographyDiagram>,<{http://schema.omg.org/spec/BPMN/2.0}choreographySubProcess>,<{http://schema.omg.org/spec/BPMN/2.0}choreographyTask>,<{http://schema.omg.org/spec/BPMN/2.0}collaboration>,<{http://bpmndi.org}collaborationDiagram>,<{http://schema.omg.org/spec/BPMN/2.0}communication>,<{http://bpmndi.org}communicationShape>,<{http://schema.omg.org/spec/BPMN/2.0}compensateEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}complexBehaviorDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}complexGateway>,<{http://schema.omg.org/spec/BPMN/2.0}conditionalEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}conversation>,<{http://bpmndi.org}conversationDiagram>,<{http://schema.omg.org/spec/BPMN/2.0}conversationLink>,<{http://bpmndi.org}conversationLinkConnector>,<{http://bpmndi.org}dataAssociationConnector>,<{http://schema.omg.org/spec/BPMN/2.0}dataInput>,<{http://schema.omg.org/spec/BPMN/2.0}dataInputAssociation>,<{http://bpmndi.org}dataInputShape>,<{http://schema.omg.org/spec/BPMN/2.0}dataObject>,<{http://bpmndi.org}dataObjectShape>,<{http://schema.omg.org/spec/BPMN/2.0}dataOutput>,<{http://schema.omg.org/spec/BPMN/2.0}dataOutputAssociation>,<{http://bpmndi.org}dataOutputShape>,<{http://schema.omg.org/spec/BPMN/2.0}dataStore>,<{http://schema.omg.org/spec/BPMN/2.0}dataStoreReference>,<{http://bpmndi.org}dataStoreShape>,<{http://schema.omg.org/spec/BPMN/2.0}definitions>,<{http://schema.omg.org/spec/BPMN/2.0}documentation>,<{http://bpmndi.org}embeddedSubprocessShape>,<{http://schema.omg.org/spec/BPMN/2.0}endEvent>,<{http://schema.omg.org/spec/BPMN/2.0}errorEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}escalation>,<{http://schema.omg.org/spec/BPMN/2.0}escalationEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}eventBasedGateway>,<{http://bpmndi.org}eventShape>,<{http://schema.omg.org/spec/BPMN/2.0}exclusiveGateway>,<{http://schema.omg.org/spec/BPMN/2.0}expression>,<{http://schema.omg.org/spec/BPMN/2.0}formalExpression>,<{http://bpmndi.org}gatewayShape>,<{http://schema.omg.org/spec/BPMN/2.0}humanPerformer>,<{http://schema.omg.org/spec/BPMN/2.0}implicitThrowEvent>,<{http://schema.omg.org/spec/BPMN/2.0}inclusiveGateway>,<{http://schema.omg.org/spec/BPMN/2.0}inputOutputSpecification>,<{http://schema.omg.org/spec/BPMN/2.0}inputSet>,<{http://schema.omg.org/spec/BPMN/2.0}intermediateCatchEvent>,<{http://schema.omg.org/spec/BPMN/2.0}intermediateThrowEvent>,<{http://schema.omg.org/spec/BPMN/2.0}itSystem>,<{http://bpmndi.org}itSystemShape>,<{http://schema.omg.org/spec/BPMN/2.0}lane>,<{http://schema.omg.org/spec/BPMN/2.0}laneSet>,<{http://schema.omg.org/spec/BPMN/2.0}linkEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}manualTask>,<{http://schema.omg.org/spec/BPMN/2.0}message>,<{http://schema.omg.org/spec/BPMN/2.0}messageEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}messageFlow>,<{http://bpmndi.org}messageFlowConnector>,<{http://bpmndi.org}messageShape>,<{http://schema.omg.org/spec/BPMN/2.0}multiInstanceLoopCharacteristics>,<{http://schema.omg.org/spec/BPMN/2.0}operation>,<{http://schema.omg.org/spec/BPMN/2.0}outputSet>,<{http://schema.omg.org/spec/BPMN/2.0}parallelGateway>,<{http://schema.omg.org/spec/BPMN/2.0}participant>,<{http://bpmndi.org}participantShape>,<{http://schema.omg.org/spec/BPMN/2.0}performer>,<{http://schema.omg.org/spec/BPMN/2.0}potentialOwner>,<{http://schema.omg.org/spec/BPMN/2.0}process>,<{http://bpmndi.org}processDiagram>,<{http://schema.omg.org/spec/BPMN/2.0}processParticipant>,<{http://bpmndi.org}processParticipantShape>,<{http://schema.omg.org/spec/BPMN/2.0}receiveTask>,<{http://schema.omg.org/spec/BPMN/2.0}scriptTask>,<{http://schema.omg.org/spec/BPMN/2.0}sendTask>,<{http://schema.omg.org/spec/BPMN/2.0}sequenceFlow>,<{http://schema.omg.org/spec/BPMN/2.0}serviceTask>,<{http://schema.omg.org/spec/BPMN/2.0}signalEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}standardLoopCharacteristics>,<{http://schema.omg.org/spec/BPMN/2.0}startEvent>,<{http://schema.omg.org/spec/BPMN/2.0}subConversation>,<{http://bpmndi.org}subConversationShape>,<{http://schema.omg.org/spec/BPMN/2.0}subProcess>,<{http://bpmndi.org}subprocessShape>,<{http://schema.omg.org/spec/BPMN/2.0}task>,<{http://schema.omg.org/spec/BPMN/2.0}terminateEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}textAnnotation>,<{http://bpmndi.org}textAnnotationShape>,<{http://schema.omg.org/spec/BPMN/2.0}timerEventDefinition>,<{http://schema.omg.org/spec/BPMN/2.0}transaction>,<{http://schema.omg.org/spec/BPMN/2.0}userTask>