Continuing the discussion from Element definitions not in the right order when exported to XML:
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)
Known issue. Thanks for reporting.
Fixed with latest bpmn-moddle release.