Continuing the discussion from Element definitions not in the right order when exported to XML :
When a diagram is exported into XML some definitions are not in the right order compared to the bpmn schema.
As per BPMN schema (see below) the “dataOutput” is supposed to be defined before the “outputSet”. In the exported file this is not true.
Here are both files, the original and the one that the online bpmn.io editor exported when using “Download BPMN diagram” button. The problematic part can be seen in the StartEvent element with id=“ID_StartEvent”.
diagram_original.bpmn (30.5 KB)
diagram_exported.bpmn (29.9 KB)
A similar problem seems to be present with the “Property” definition which is always appended at the end (at least in the “process” element).
diagram_exported.bpmn (2.8 KB)diagram_original.bpmn (2.8 KB)
nikku
December 7, 2015, 12:20pm
2
Known issue. Thanks for reporting.
opened 10:02AM - 11 Jun 15 UTC
closed 01:24PM - 12 Jan 16 UTC
<property> tags should be serialized before flowNodes. This is something we do not take into account right now.
Related forum post.
bug
export
miwg
nikku
January 12, 2016, 3:44pm
3
Fixed with latest bpmn-moddle release.
1 Like