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

Re: The Scope of Step Names

From: Alex Milowski <alex@milowski.org>
Date: Mon, 02 Oct 2006 11:23:41 -0700
Message-ID: <4521592D.1030301@milowski.org>
CC: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

Henry S. Thompson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Alex Milowski writes:
> 
>> In section 4.1.2, we have:
>>
>> "The scope of component names is the flow graph of their container and
>> the flow graphs of the constructs therein, recursively."
> 
>> I think should have been 'step names'.  component names are global
>> as they represent a type of component that can be used in a step.
> 
> That's a confusion -- 'component' is the cover term in this draft for
> steps (XSLT, XInclude, etc.) and constructs (choose, for-each, etc.).
> 
> Individual steps have types and names, individual constructs have
> names too.

Steps refer to types but you refer to steps via their name.  Hence, when
tracing a flow, you are referring to a step via its name and qualify
that with a port name.

At the end, you have a unique set of component type names as determined
by:

    * the "built-in" component types
    * any declare-component definitions in the pipeline
    * any libraries that you import.

This is a "flat" set of component types and so you can't have
conflicts.

--Alex Milowski
Received on Monday, 2 October 2006 18:23:55 GMT

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