W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > September 2009

Steps with no type in p:library

From: <Toman_Vojtech@emc.com>
Date: Wed, 23 Sep 2009 09:49:04 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC78710E676F0@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
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? If
so, what happens if you import such a library? 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?

If err:XS0053 is the right behavior in this case, then I suggest we
change the error description so that it is clear that it applies not
only to importing single pipelines, but also p:library.

Regards,
Vojtech

--
Vojtech Toman
Principal Software Engineer
EMC Corporation
toman_vojtech@emc.com
http://developer.emc.com/xmltech
Received on Wednesday, 23 September 2009 14:56:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 September 2009 14:56:30 GMT