Deployment new process with Schema Validation failed

Hallo,

i want to test executionListener in a new process.

so the generated process testExecutionListener.bpmn20.xml is:

<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:flowable="http://flowable.org/bpmn" id="sid-a99401d1-6896-44b4-ace0-6898edf8e711" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd" targetNamespace="http://flowable.org/bpmn20">
  <process id="testExecutionListener" name="testExecutionListener" isExecutable="true">
    <extensionElements>
      <flowable:executionListener expression="${growService.insertEndEventScript(execution)}" event="end"/>
    </extensionElements>
    <scriptTask completionQuantity="1" id="sid-bf11ae42-a6f2-4eb0-89d9-7ed1e72e02cb" isForCompensation="false" name="testexecutionlistener_sct_1" startQuantity="1" flowable:autoStoreVariables="true" scriptFormat="groovy">
      <extensionElements>
        <signavio:signavioMetaData xmlns:signavio="http://www.signavio.com" metaKey="bgcolor" metaValue="#ffffcc"/>
      </extensionElements>
      <incoming>sid-21cd4a49-fc40-476e-b77f-2df6142afc02</incoming>
      <outgoing>sid-9d3746f2-db20-444e-864d-106a43a1f787</outgoing>
      <script>growService.insertScript(execution)</script>
    </scriptTask>
    <startEvent id="sid-6cf5f780-c4f4-4ef6-bee1-756c5da3ffbb" name="testexecutionlistener_start_1" flowable:formKey="testexecutionlistener_start_1" flowable:initiator="bpm_initiator">
      <extensionElements>
        <signavio:signavioMetaData xmlns:signavio="http://www.signavio.com" metaKey="bgcolor" metaValue="#ffffff"/>
      </extensionElements>
      <outgoing>sid-21cd4a49-fc40-476e-b77f-2df6142afc02</outgoing>
    </startEvent>
    <endEvent id="sid-fd2d6189-027b-46c6-ac63-6df81058295e" name="">
      <extensionElements>
        <signavio:signavioMetaData xmlns:signavio="http://www.signavio.com" metaKey="bgcolor" metaValue="#ffffff"/>
      </extensionElements>
      <incoming>sid-9d3746f2-db20-444e-864d-106a43a1f787</incoming>
    </endEvent>
    <sequenceFlow id="sid-21cd4a49-fc40-476e-b77f-2df6142afc02" name="" sourceRef="sid-6cf5f780-c4f4-4ef6-bee1-756c5da3ffbb" targetRef="sid-bf11ae42-a6f2-4eb0-89d9-7ed1e72e02cb"/>
    <sequenceFlow id="sid-9d3746f2-db20-444e-864d-106a43a1f787" name="" sourceRef="sid-bf11ae42-a6f2-4eb0-89d9-7ed1e72e02cb" targetRef="sid-fd2d6189-027b-46c6-ac63-6df81058295e"/>
  </process>
</definitions>

but when i tried to deploy it, i get this exception:

cvc-complex-type.2.4.a: Invalid content was found starting with element 'extensionElements'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.

It only works when i use disableSchemaValidation() to deploy the process.
My question is there any problem with my testExecutionListener.bpmn20.xml , why can it not be validated when i use

<extensionElements>
      <flowable:executionListener 
expression="${growService.insertEndEventScript(execution)}" event="end"/>
    </extensionElements>

Hi,

I was looking at an example that I generate (and is valid under the schema valdiation) but it has more entries than yours. The definitions properties has the following:

<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef">