-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parse-file-type): correctly detect type
* detection failed as soon as uri of another type was in file * type is now detected by checking namespace of root element Closes #944
- Loading branch information
1 parent
d2e91cf
commit 34acfe2
Showing
4 changed files
with
103 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<cmmn:definitions xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC" xmlns:di="http://www.omg.org/spec/CMMN/20151109/DI" xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI" xmlns:cmmn="http://www.omg.org/spec/CMMN/20151109/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_0n29yop" targetNamespace="http://bpmn.io/schema/cmmn"> | ||
<cmmn:case id="Case_1"> | ||
<cmmn:casePlanModel id="CasePlanModel_1" name="A CasePlanModel"> | ||
<cmmn:planItem id="PlanItem_1" definitionRef="Task_1" /> | ||
<cmmn:task id="Task_1" /> | ||
</cmmn:casePlanModel> | ||
</cmmn:case> | ||
<cmmndi:CMMNDI> | ||
<cmmndi:CMMNDiagram id="_5a66685b-5f57-4e2f-b1d1-acca4fae04b2"> | ||
<cmmndi:Size xsi:type="dc:Dimension" width="500" height="500" /> | ||
<cmmndi:CMMNShape id="DI_CasePlanModel_1" cmmnElementRef="CasePlanModel_1"> | ||
<dc:Bounds x="114" y="63" width="534" height="389" /> | ||
<cmmndi:CMMNLabel /> | ||
</cmmndi:CMMNShape> | ||
<cmmndi:CMMNShape id="PlanItem_1_di" cmmnElementRef="PlanItem_1"> | ||
<dc:Bounds x="150" y="96" width="100" height="80" /> | ||
<cmmndi:CMMNLabel /> | ||
</cmmndi:CMMNShape> | ||
</cmmndi:CMMNDiagram> | ||
</cmmndi:CMMNDI> | ||
</cmmn:definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn"> | ||
<bpmn:process id="Process_1" isExecutable="false"> | ||
<bpmn:startEvent id="StartEvent_1" /> | ||
<bpmn:task id="Task_1" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"> | ||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> | ||
<dc:Bounds x="173" y="102" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Task_1_di" bpmnElement="Task_1"> | ||
<dc:Bounds x="353" y="80" width="100" height="80" /> | ||
</bpmndi:BPMNShape> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters