| Summary: | BPMN 2 Specification: list of problems | ||
|---|---|---|---|
| Product: | [Modeling] MDT.BPMN2 | Reporter: | Henning Heitkoetter <hheitkoetter> |
| Component: | Core | Assignee: | Project Inbox <mdt-bpmn2-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bbrodt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Henning Heitkoetter
Problem 2 - Reference by QName in XSD where no cross-file reference is possible In some places, the XSD uses a QName for the type of a reference, implying that referenced elements could reside in a different file (definitions), although both referencing and referenced element will, in all cases, be contained in the same container element. For example, sequence flow should only connect elements of the same process (choreography) - see chapter 7.5.1. This applies to: * BoundaryEvent.attachedToRef:Activity, * FlowNode.incoming:SequenceFlow, FlowNode.outgoing:SequenceFlow, * LinkEventDefinition.source:LinkEventDefinition, LinkEventDefinition.target:LinkEventDefinition We plan to disallow cross-file references in these cases, setting resolveProxies to false. (In reply to comment #1) > * LinkEventDefinition.source:LinkEventDefinition, > LinkEventDefinition.target:LinkEventDefinition Correction: these could span across files, as they are defined on EventDefinitions (not Events) and EventDefinition is a RootElement which can be stored anywhere. The XSD defines StandardLoopCharacteristics.loopMaximum as an Integer, but the bpmn2 model defines it as a reference to an Expression. This causes parsing and serializing of a model file that has loopMaximum to fail. |