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

Re: Allow @namespace on p:pipeline

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 06 Jun 2007 11:41:52 +0100
Message-ID: <46668F70.6010109@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Henry S. Thompson wrote:
> Jeni Tennison writes:
>> Actually, looking at <p:declare-step>, it struck me that perhaps we
>> should have:
>>
>>   <p:pipeline name="local-name" type="my:qualified-name">
>>     ...
>>   </p:pipeline>
>>
>> In other words, have the type attribute hold a QName that provides the
>> name of the element that you use to invoke the pipeline (just like the
>> type attribute on <p:declare-step>), and the name attribute hold a
>> NCName that provides a local name for the step attribute in <p:pipe>.
> 
> I like this.  I would go a bit further, and say that
> 
>  a) type is optional (and ignored if not in a library)
>  b) the 'public name' of a pipeline (only relevant for pipelines in
>     libraries) is determined as follows:
>     1) @type if present
>     2) otherwise {../@namespace}@name if ../@namespace is present
>     3) otherwise @name

+1

-- 
Jeni Tennison
http://www.jenitennison.com
Received on Wednesday, 6 June 2007 10:42:01 GMT

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