Skip to content

An edge's target node exists

The rule

Normative: this is the rule
  1. An edge whose target does not name a node in the workflow MUST be refused with R8_EDGE_TARGET_MISSING at edge.{index}, where {index} is the edge's position in the workflow's edge list.
  2. An absent target names 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:

An edge whose target names no node in the workflow
{ "id": "e1", "source": "s", "target": "gone" }
The code and locator of the finding it producesrefused
{ "code": "R8_EDGE_TARGET_MISSING", "locator": "edge.0" }

Why

Recorded under OPEN-25, OPEN-26.

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