From bfce3436e69e550379e3b908748f1c442f9fbff2 Mon Sep 17 00:00:00 2001 From: Simon Ringuette Date: Wed, 7 Dec 2022 13:35:53 -0500 Subject: [PATCH] Re-introduced the bpmn-envelope-decorator-bounds.xsd with an attribute group --- bpmn-envelope-decorator-bounds.xsd | 59 ++++++++++++++++++++++++++++++ test-validation-of-example.sh | 1 + 2 files changed, 60 insertions(+) create mode 100644 bpmn-envelope-decorator-bounds.xsd diff --git a/bpmn-envelope-decorator-bounds.xsd b/bpmn-envelope-decorator-bounds.xsd new file mode 100644 index 0000000..2431859 --- /dev/null +++ b/bpmn-envelope-decorator-bounds.xsd @@ -0,0 +1,59 @@ + + + + + + + + + + This XML schema defines and documents BPMN 2.0 extension attributes + to overcome limitations of BPMN Diagram Interchange. + + + + + + + + + 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: + + + + + + + + + + + See also bpmn-envelope-decorator-bounds.png + + + + + + + + + diff --git a/test-validation-of-example.sh b/test-validation-of-example.sh index ddecbe6..634378e 100755 --- a/test-validation-of-example.sh +++ b/test-validation-of-example.sh @@ -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