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

Re: Are pipelines in the same library visible to each other?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 21 Mar 2007 13:46:11 +0000
Message-ID: <46013723.4010107@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> Is this legal:
> 
> <p:pipeline-library namespace="http://example.org/"
>                      xmlns:ex="http://example.org/">
>   <p:pipeline name="bar">
>     ...
>   </p:pipeline>
> 
>   <p:pipeline name="foo">
>     <ex:bar/>
>   </p:pipeline>
> </p:pipeline-library>

Yes, this is legal.

> Even if it is, do we agree that this is not?
> 
> <p:pipeline-library namespace="http://example.org/"
>                      xmlns:ex="http://example.org/">
>   <p:pipeline name="bar">
>     <ex:foo/>
>   </p:pipeline>
> 
>   <p:pipeline name="foo">
>     ...
>   </p:pipeline>
> </p:pipeline-library>

No, we don't agree. This should be legal too.

Order doesn't matter when I write templates in XSLT, element 
declarations in XML Schema, definitions in RELAX NG, functions or 
methods in virtually any other programming language you care to mention. 
It shouldn't here.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Wednesday, 21 March 2007 13:47:21 GMT

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