An edge's target node exists
The rule
Normative: this is the rule
- An edge whose
targetdoes not name a node in the workflow MUST be refused withR8_EDGE_TARGET_MISSINGatedge.{index}, where{index}is the edge's position in the workflow's edge list. - An absent
targetnames no node, and neither does an empty one.
What it means
Addressed the same way as R8.a's missing source: the locator names the
edge's position in the workflow's edge list, not the id the edge itself
carries. An absent target and an empty one name no node, on the same
footing as one naming a node the workflow does not have.
Example
An edge named e1 names a target the workflow has no node for:
{ "id": "e1", "source": "s", "target": "gone" }{ "code": "R8_EDGE_TARGET_MISSING", "locator": "edge.0" }Why
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · R8.b · changed in spec 1.0