-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-introduced the bpmn-envelope-decorator-bounds.xsd with an attribut…
…e group
- Loading branch information
1 parent
6180d37
commit 9816245
Showing
3 changed files
with
68 additions
and
0 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,59 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema | ||
xmlns="http://www.w3.org/2001/XMLSchema" | ||
targetNamespace="http://www.omg.org/spec/BPMN/non-normative/extensions/envelope-decorator-bounds/1.0" | ||
xmlns:deco="http://www.omg.org/spec/BPMN/non-normative/extensions/envelope-decorator-bounds/1.0" | ||
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"> | ||
|
||
<import namespace="http://www.omg.org/spec/BPMN/20100524/MODEL" schemaLocation="bpmn/BPMN20.xsd" /> | ||
<import namespace="http://www.omg.org/spec/DD/20100524/DC" schemaLocation="bpmn/DC.xsd" /> | ||
<import namespace="http://www.omg.org/spec/DD/20100524/DI" schemaLocation="bpmn/DI.xsd" /> | ||
|
||
<annotation> | ||
<documentation> | ||
This XML schema defines and documents BPMN 2.0 extension attributes | ||
to overcome limitations of BPMN Diagram Interchange. | ||
</documentation> | ||
</annotation> | ||
|
||
|
||
|
||
<attributeGroup name="BPMNEnvelopeDecorator"> | ||
<annotation> | ||
<documentation> | ||
Extension attribute on bpmndi:BPMNEdge that reference a bpmn:MessageFlow | ||
|
||
BPMNEnvelopeDecorator allows to interchange the position and dimensions | ||
of the Envelope Decorator on a BPMN Message Flow. | ||
With this extension the Envelope Decorator can be freely positioned | ||
along the Message Flow and not just in the middle of it. | ||
|
||
BPMN 2.1, page 411 (PDF 441) says: | ||
"Note that for Message Flow with an envelope decorator, the envelope | ||
decorator should be at the midpoint of the message flow. BPMN DI does | ||
not provide an interchange of the bounds of the envelope decorator." | ||
|
||
Example: | ||
<bpmndi:BPMNEdge bpmnElement="_09e7cb23-4a1b-4165-b93a-cf635c223ee5" messageVisibleKind="initiating" id="E1373638081031__09e7cb23-4a1b-4165-b93a-cf635c223ee5" deco:height="12" deco:width="17" deco:x="209" deco:y="336.0"> | ||
<di:waypoint x="305.0" y="188.0"/> | ||
<di:waypoint x="305.0" y="342.0"/> | ||
<di:waypoint x="130.0" y="342.0"/> | ||
<di:waypoint x="131.0" y="651.0"/> | ||
<bpmndi:BPMNLabel labelStyle="LS1373638080849"> | ||
<dc:Bounds height="12.804751171875008" width="94.93333333333335" x="167.10533963254568" y="359.56612835107035"/> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNEdge> | ||
|
||
See also bpmn-envelope-decorator-bounds.png | ||
</documentation> | ||
</annotation> | ||
<attribute name="x" type="double"/> | ||
<attribute name="y" type="double"/> | ||
<attribute name="height" type="double"/> | ||
<attribute name="width" type="double"/> | ||
</attributeGroup> | ||
|
||
</schema> |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/sh | ||
xmllint --schema 'bpmn/BPMN20.xsd' --schema bpmn-envelope-decorator-bounds.xsd --noout bpmn-envelope-decorator-bounds.bpmn | ||
xmllint --schema 'bpmn/BPMN20.xsd' --noout bpmn-envelope-decorator-bounds.bpmn |