Skip to content

Commit

Permalink
Merge pull request #1105 from ndw/iss-1104
Browse files Browse the repository at this point in the history
Clarify the description of the scope of step names
  • Loading branch information
ndw authored Aug 19, 2024
2 parents a1598b8 + 2d04462 commit 5fee150
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions xproc/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3497,14 +3497,16 @@ an error.</para>

<section>
<title>Scoping of step names</title>
<para>The scope of the names of the steps (the values of the step’s <code>name</code> attributes) is determined by
the <glossterm>environment</glossterm> of each step. In general, the
name of a step, the names of its sibling steps, the names of any steps
that it contains directly, the names of its ancestors, and the names
of the siblings of its ancestors are all in a common scope. <error
code="S0002">All steps in the same scope <rfc2119>must</rfc2119> have
unique names: it is a <glossterm>static error</glossterm> if two steps
with the same name appear in the same scope.</error></para>

<para>The scope of the names of the steps (the values of the step’s
<code>name</code> attributes) is the step on which the name appears, the names
of its sibling steps, the names of any steps that it contains directly, the
names of its ancestors, and the names of the siblings of its ancestors.
<error code="S0002">All steps in the same
scope <rfc2119>must</rfc2119> have unique names: it is a <glossterm>static
error</glossterm> if two steps with the same name appear in the same
scope.</error></para>

</section>
<section>
<title>Scoping of port names</title>
Expand Down

0 comments on commit 5fee150

Please sign in to comment.