Overriding pipelines

This is not legal:

  <p:pipeline-library>

   <p:pipeline name="foo">
     <p:input port="source/">
     <p:output port="result"/>
     ...
   </p:pipeline>

   <p:pipeline name="foo">
     <p:input port="source/">
     <p:input port="otherstuff/">
     <p:output port="result"/>
     ...
   </p:pipeline>

 </p:pipeline-library>

 But is this?

  <p:pipeline-library>

   <p:import href="somelib.xml"/>

   <p:pipeline name="foo">
     <p:input port="source/">
     <p:input port="otherstuff/">
     <p:output port="result"/>
     ...
   </p:pipeline>

 </p:pipeline-library>

 Where somelib.xml contains:

  <p:pipeline-library>

   <p:pipeline name="foo">
     <p:input port="source/">
     <p:output port="result"/>
     ...
   </p:pipeline>

 </p:pipeline-library>



                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 20 March 2007 18:06:47 UTC