Import precedence

This is not legal:

<p:pipeline-library>

  <p:declare-step type="x:foo">
    <p:input port="source/">
    <p:output port="result"/>
  </p:declare-step>

  <p:declare-step type="x:foo">
    <p:input port="source/">
    <p:input port="otherstuff/">
    <p:output port="result"/>
  </p:declare-step>

</p:pipeline-library>

But is this?

<p:pipeline-library>

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

  <p:declare-step type="x:foo">
    <p:input port="source/">
    <p:input port="otherstuff/">
    <p:output port="result"/>
  </p:declare-step>

</p:pipeline-library>

Where somelib.xml contains:

<p:pipeline-library>

  <p:declare-step type="x:foo">
    <p:input port="source/">
    <p:output port="result"/>
  </p:declare-step>

</p:pipeline-library>

                                        Be seeing you,
                                          norm

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

Received on Tuesday, 20 March 2007 18:05:16 UTC