ENGINE-09005 Could not parse BPMN process. Errors

Just learning camunda, there was an error in the deployment:

ENGINE-09005 Could not parse BPMN process. Errors

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="Definitions_0u1r8qj" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.2.0">
  <bpmn:process id="leave" name="请假流程" isExecutable="true">
    <bpmn:documentation>这是一个请假流程</bpmn:documentation>
    <bpmn:userTask id="Activity_11u3reh" name="项目经理审批" camunda:assignee="jingli">
      <bpmn:incoming>Flow_1tgrefz</bpmn:incoming>
      <bpmn:outgoing>Flow_15acs4b</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:endEvent id="Event_1u8btl1">
      <bpmn:incoming>Flow_15acs4b</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_15acs4b" sourceRef="Activity_11u3reh" targetRef="Event_1u8btl1" />
    <bpmn:endEvent id="Event_0ebk8tl">
      <bpmn:incoming>Flow_19fbudz</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:userTask id="Activity_0u7c6mj" name="组长审批" camunda:assignee="zuzhang">
      <bpmn:incoming>Flow_1f3t62r</bpmn:incoming>
      <bpmn:outgoing>Flow_1tgrefz</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:sequenceFlow id="Flow_1tgrefz" sourceRef="Activity_0u7c6mj" targetRef="Activity_11u3reh" />
    <bpmn:userTask id="Activity_031sqrx" name="组长审批" camunda:assignee="zuzhang">
      <bpmn:incoming>Flow_1fi2k6m</bpmn:incoming>
      <bpmn:outgoing>Flow_19fbudz</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:sequenceFlow id="Flow_19fbudz" sourceRef="Activity_031sqrx" targetRef="Event_0ebk8tl" />
    <bpmn:exclusiveGateway id="Gateway_1scuzpr">
      <bpmn:incoming>Flow_18n73ie</bpmn:incoming>
      <bpmn:outgoing>Flow_1f3t62r</bpmn:outgoing>
      <bpmn:outgoing>Flow_1fi2k6m</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_1f3t62r" name="大于等于三天&#10;&#10;" sourceRef="Gateway_1scuzpr" targetRef="Activity_0u7c6mj">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${day&gt;=3}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_1fi2k6m" name="小于三天" sourceRef="Gateway_1scuzpr" targetRef="Activity_031sqrx">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${day&lt;3}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:userTask id="Activity_1ngob4k" name="申请人" camunda:assignee="yangshuai">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="day" label="请假天数" type="string" defaultValue="2" />
          <camunda:formField id="start_time" label="开始时间" type="date" />
          <camunda:formField id="end_time" label="结束时间" type="date" />
          <camunda:formField id="reason" label="请假原因" type="string" />
        </camunda:formData>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_01oswgx</bpmn:incoming>
      <bpmn:outgoing>Flow_18n73ie</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:sequenceFlow id="Flow_18n73ie" sourceRef="Activity_1ngob4k" targetRef="Gateway_1scuzpr" />
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="day" label="请假天数" type="string" defaultValue="2" />
          <camunda:formField id="start_time" label="开始时间" type="date" />
          <camunda:formField id="end_time" label="结束时间" type="date" />
          <camunda:formField id="reason" label="请假原因" type="string" />
        </camunda:formData>
      </bpmn:extensionElements>
      <bpmn:outgoing>Flow_01oswgx</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_01oswgx" sourceRef="StartEvent_1" targetRef="Activity_1ngob4k" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="leave">
      <bpmndi:BPMNEdge id="Flow_15acs4b_di" bpmnElement="Flow_15acs4b">
        <di:waypoint x="1000" y="290" />
        <di:waypoint x="1132" y="290" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1tgrefz_di" bpmnElement="Flow_1tgrefz">
        <di:waypoint x="790" y="290" />
        <di:waypoint x="900" y="290" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_19fbudz_di" bpmnElement="Flow_19fbudz">
        <di:waypoint x="790" y="120" />
        <di:waypoint x="932" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1f3t62r_di" bpmnElement="Flow_1f3t62r">
        <di:waypoint x="490" y="225" />
        <di:waypoint x="490" y="290" />
        <di:waypoint x="690" y="290" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="472" y="255" width="66" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1fi2k6m_di" bpmnElement="Flow_1fi2k6m">
        <di:waypoint x="490" y="175" />
        <di:waypoint x="490" y="120" />
        <di:waypoint x="690" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="484" y="145" width="44" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_18n73ie_di" bpmnElement="Flow_18n73ie">
        <di:waypoint x="370" y="200" />
        <di:waypoint x="465" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_01oswgx_di" bpmnElement="Flow_01oswgx">
        <di:waypoint x="218" y="200" />
        <di:waypoint x="270" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="182" y="182" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0aaqhf6_di" bpmnElement="Activity_1ngob4k" bioc:stroke="black" bioc:fill="white">
        <dc:Bounds x="270" y="160" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1scuzpr_di" bpmnElement="Gateway_1scuzpr" isMarkerVisible="true">
        <dc:Bounds x="465" y="175" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1n34iwd_di" bpmnElement="Activity_031sqrx">
        <dc:Bounds x="690" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_125rqbh_di" bpmnElement="Activity_0u7c6mj">
        <dc:Bounds x="690" y="250" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0ebk8tl_di" bpmnElement="Event_0ebk8tl">
        <dc:Bounds x="932" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1u8btl1_di" bpmnElement="Event_1u8btl1">
        <dc:Bounds x="1132" y="272" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1tbmaee_di" bpmnElement="Activity_11u3reh">
        <dc:Bounds x="900" y="250" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>

@y934317258, I’m able to deploy and start your process.

How are you deploying the bpmn file? Which version of camunda modeler & Camunda BPM version you’re using?


I’ve tested in below versions:

Camunda Modeler version: 4.2.0
Camunda BPM version: 7.13.0

Thank you for your reply. I found that it was due to my deployment in the Chinese path