- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 01 Oct 2009 16:35:47 -0400
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <m2d4566ee4.fsf@nwalsh.com>
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
> Consider the following pipeline library:
>
> <p:library>
> <p:pipeline type="some:type">
> ...
> </p:pipeline>
>
> <p:pipeline>
> <!-- pipeline with no type -->
> ...
> </p:pipeline>
> </p:library>
>
> Is this allowed? Can you have pipelines with no type in p:library?
The WG considered this and concluded that it was not an error.
> If
> so, what happens if you import such a library?
The pipelines that have no type are effectively invisible to the
importing pipeline.
> Do you get err:XS0053
> ("It is a static error to import a single pipeline if that pipeline does
> not have a type."), or do only the steps with a type get imported?
The latter.
In retrospect, I'm not sure err:XS0053 is really necessary, but I
don't feel strongly enough about it to champion removing it at this
stage.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The irrational is not necessarily
http://nwalsh.com/ | unreasonable.--Sir Lewis Namier
Received on Thursday, 1 October 2009 20:36:25 UTC