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

Scoping of names

From: <Toman_Vojtech@emc.com>
Date: Thu, 24 Apr 2008 10:47:18 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870ACDC702@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>

Hi all,

Section 3.2 says:
"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 a common
scope."

I think it should read:

"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 ANCESTORS' siblings are all in a common
scope."

Otherwise the following would not be possible:

<p:idenity name="foo"/>
<p:group>
  <p:group>
    <p:identity>
      <p:input port="source">
        <p:pipe step="foo" port="result"/>
      </p:input>
    </p:identity>
  </p:group>
</p:group>

Regards,
Vojtech
Received on Thursday, 24 April 2008 14:48:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 April 2008 14:48:14 GMT