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

Re: Scope of step names

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 20 Sep 2007 17:01:05 +0200
Message-ID: <546c6c1c0709200801p2c95679fv6de354fadba9a555@mail.gmail.com>
To: "Richard Tobin" <richard@inf.ed.ac.uk>
Cc: public-xml-processing-model-wg@w3.org

Richard,

<step name="A">
  <step name="inside">...</step>
</step>
<step name="B">
  <step name="inside">...</step>
</step>

is allowed by the current spec, not with your change, IMHO

Mohamed

On 9/20/07, Richard Tobin <richard@inf.ed.ac.uk> wrote:
>
> 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
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 20 September 2007 15:01:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT