[jbpm-commits] JBoss JBPM SVN: r6795 - projects/migration_tool/trunk/src/test/resources/bpmn.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 3 18:41:08 EDT 2010


Author: MohReece
Date: 2010-11-03 18:41:08 -0400 (Wed, 03 Nov 2010)
New Revision: 6795

Modified:
   projects/migration_tool/trunk/src/test/resources/bpmn/Test.bpmn.xml
Log:
Updated test process definition to comply with BPMN 2.0 beta.

Modified: projects/migration_tool/trunk/src/test/resources/bpmn/Test.bpmn.xml
===================================================================
--- projects/migration_tool/trunk/src/test/resources/bpmn/Test.bpmn.xml	2010-11-03 22:40:11 UTC (rev 6794)
+++ projects/migration_tool/trunk/src/test/resources/bpmn/Test.bpmn.xml	2010-11-03 22:41:08 UTC (rev 6795)
@@ -1,10 +1,16 @@
-<definitions id="defId" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.omg.org/bpmn20">
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions id="defId"
+             xmlns="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"
+             targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL">
     <process id="procesId">
         <laneSet id="laneSetId">
             <lane name="DefaultLane" id="laneId">
-                <flowElementRef>taskId</flowElementRef>
-                <flowElementRef>startEventId</flowElementRef>
-                <flowElementRef>endEventId</flowElementRef>
+                <flowNodeRef>taskId</flowNodeRef>
+                <flowNodeRef>startEventId</flowNodeRef>
+                <flowNodeRef>endEventId</flowNodeRef>
             </lane>
         </laneSet>
         <task completionQuantity="1" startQuantity="1" isForCompensation="false" name="" id="taskId"/>
@@ -13,13 +19,34 @@
         <sequenceFlow targetRef="taskId" sourceRef="startEventId" name="" id="fou"/>
         <sequenceFlow targetRef="endEventId" sourceRef="taskId" name="" id="fiv"/>
     </process>
-    <bpmndi:processDiagram processRef="procesId" id="procesId_gui">
-        <bpmndi:laneCompartment isVisible="false" height="0.0" width="0.0" y="0.0" x="0.0" name="DefaultLane" id="laneId_gui">
-            <bpmndi:activityShape activityRef="taskId" height="40.0" width="50.0" y="105.0" x="90.0" name="" id="taskId_gui"/>
-            <bpmndi:eventShape eventRef="startEventId" height="30.0" width="30.0" y="35.0" x="100.0" name="" id="startEventId_gui"/>
-            <bpmndi:eventShape eventRef="endEventId" height="28.0" width="28.0" y="182.0" x="101.0" name="" id="endEventId_gui"/>
-        </bpmndi:laneCompartment>
-        <bpmndi:sequenceFlowConnector sequenceFlowRef="fou" label="" targetRef="taskId_gui" sourceRef="startEventId_gui" id="fou_gui"/>
-        <bpmndi:sequenceFlowConnector sequenceFlowRef="fiv" label="" targetRef="endEventId_gui" sourceRef="taskId_gui" id="fiv_gui"/>
-    </bpmndi:processDiagram>
-</definitions>
\ No newline at end of file
+    <bpmndi:BPMNDiagram>
+        <bpmndi:BPMNPlane bpmnElement="procesId">
+            <bpmndi:BPMNShape bpmnElement="laneId" isHorizontal="true" id="laneId_gui">
+                <dc:Bounds height="0" width="0" x="0" y="0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNShape>
+            <bpmndi:BPMNShape bpmnElement="startEventId" id="startEventId_gui">
+                <dc:Bounds height="30.0" width="30.0" x="100.0" y="35.0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNShape>
+            <bpmndi:BPMNShape bpmnElement="taskId" id="taskId_gui">
+                <dc:Bounds height="40.0" width="50.0" x="90.0" y="105.0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNShape>
+            <bpmndi:BPMNShape bpmnElement="endEventId" id="endEventId_gui">
+                <dc:Bounds height="28.0" width="28.0" x="101.0" y="182.0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNShape>
+            <bpmndi:BPMNEdge bpmnElement="fou" id="fou_gui">
+                <di:waypoint x="115.0" y="65.0"/>
+                <di:waypoint x="115.0" y="105.0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNEdge>
+            <bpmndi:BPMNEdge bpmnElement="fiv" id="fiv_gui">
+                <di:waypoint x="115.0" y="145.0"/>
+                <di:waypoint x="115.0" y="182.0"/>
+                <bpmndi:BPMNLabel/>
+            </bpmndi:BPMNEdge>
+        </bpmndi:BPMNPlane>
+    </bpmndi:BPMNDiagram>
+</definitions>



More information about the jbpm-commits mailing list