Skip to content

Two dangling ends are two errors

The rule

Normative: this is the rule
  1. An edge whose source and target are both missing MUST yield two errors, one for each end, both at the same edge.{index} locator.
  2. The two ends MUST be judged independently, so neither failure suppresses the other.

What it means

A checker that stops at the first bad end would report only one of two real problems. R8.a and R8.b are judged independently of each other, so an edge missing both its source and its target earns both findings, not whichever is checked first.

Example

An edge naming a source and a target the workflow has neither:

An edge whose source and target both name no node
{ "id": "e1", "source": "x", "target": "y" }
The codes both findings carryrefused
["R8_EDGE_SOURCE_MISSING", "R8_EDGE_TARGET_MISSING"]

Why

Recorded under OPEN-25.

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.c · changed in spec 1.0