W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

Scope of step names

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Thu, 20 Sep 2007 15:49:00 +0100 (BST)
To: public-xml-processing-model-wg@w3.org
Message-Id: <20070920144900.ACDA126420E@macpro.inf.ed.ac.uk>

Section 3.2 says:

  The scope of the names of the steps themselves 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 its ancestor's siblings
  are all in the same scope. All the named steps in the same scope must
  have unique names: it is a static error (err:XS0002) if two steps with
  the same name appear in the same scope.

Does this amount to anything different from "the scope of a step name
is the pipeline in which it appears"?

-- Richard
Received on Thursday, 20 September 2007 14:49:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC