Error in Extension Elements - Ungültiger Content wurde beginnend mit Element 'extensionElements' gefunden.

270 views
Skip to first unread message

roo...@gmail.com

unread,
Feb 14, 2016, 12:10:33 PM2/14/16
to camunda BPM users
Hi everyone,

how come that i got this error message while deploying my bpmn? I used the following definition:

<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="camunda modeler" exporterVersion="3.0.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> <bpmn:collaboration id="Collaboration_1">


I am trying to pass variables in a call activity by using an extension element.
<extensionElements>
<camunda:in variables="all" />
<camunda:out variables="all" />
</extensionElements>


Error message:

14-Feb-2016 18:03:20.136 SEVERE [localhost-startStop-16] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: E
NGINE-09005 Could not parse BPMN process. Errors:
* cvc-complex-type.2.4.a: Ung³ltiger Content wurde beginnend mit Element 'extensionElements' gefunden. '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documenta
tion, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":auditing, "http://www.omg.org/spec/BPMN/201
00524/MODEL":monitoring, "http://www.omg.org/spec/BPMN/20100524/MODEL":categoryValueRef, "http://www.omg.org/spec/BPMN/20100524/MODEL":incoming, "http://www.omg
.org/spec/BPMN/20100524/MODEL":outgoing, "http://www.omg.org/spec/BPMN/20100524/MODEL":ioSpecification, "http://www.omg.org/spec/BPMN/20100524/MODEL":property,
"http://www.omg.org/spec/BPMN/20100524/MODEL":dataInputAssociation, "http://www.omg.org/spec/BPMN/20100524/MODEL":dataOutputAssociation, "http://www.omg.org/spe
c/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":loopCharacteristics}' wird erwartet. | Teilprozess.bpmn | line 122 | column 2
4

Frank Langelage

unread,
Feb 14, 2016, 12:33:52 PM2/14/16
to camunda BPM users, roo...@gmail.com
It seems that the namespace is missing, try
<bpmn:extensionElements>

   
<camunda:in variables="all" />
   
<camunda:out variables="all" />
</bpmn:extensionElements>

roo...@gmail.com

unread,
Feb 15, 2016, 5:21:34 AM2/15/16
to camunda BPM users, roo...@gmail.com
Hi Frank,

danke für die schnelle Hilfe. Natürlich lag es daran.

Gruß Tobias
Reply all
Reply to author
Forward
0 new messages