From 2d04462246a79105bf77a4042dc23c2b5e88875a Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 19 Aug 2024 15:53:20 +0100 Subject: [PATCH] Clarify the description of the scope of step names --- xproc/src/main/xml/specification.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/xproc/src/main/xml/specification.xml b/xproc/src/main/xml/specification.xml index d01c3f9d8..541aae0e8 100644 --- a/xproc/src/main/xml/specification.xml +++ b/xproc/src/main/xml/specification.xml @@ -3497,14 +3497,16 @@ an error.
Scoping of step names -The scope of the names of the steps (the values of the step’s name attributes) is determined by -the environment 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. All steps in the same scope must have -unique names: it is a static error if two steps -with the same name appear in the same scope. + +The scope of the names of the steps (the values of the step’s +name 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. +All steps in the same +scope must have unique names: it is a static +error if two steps with the same name appear in the same +scope. +
Scoping of port names