W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > February 2010

Re: Scoping of options and variables

From: Alex Milowski <alex@milowski.org>
Date: Wed, 10 Feb 2010 14:56:47 -0800
Message-ID: <28d56ece1002101456o9f7d4dbl675d08fcfe09321f@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org
On Wed, Feb 10, 2010 at 1:22 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> Do we all agree that in this case:
> <p:pipeline version="1.0">
>  <p:variable name="foo" select="'bar'"/>
>  <p:group>
>    <p:variable name="foo" select="'baz'"/>
>    <p:identity/>
>  </p:group>
> </p:pipeline>
> Shadowing is the expected (and correct) behavior?


The consensus from the previous call (02/04/2010) was that it should
not be shadowed and should be an error.  That's the "strict" option in the
minutes from that call [1].

[1] http://www.w3.org/XML/XProc/2010/02/04-minutes.html

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 10 February 2010 22:57:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:27 UTC