RE: Difficulty overriding parameter values

> <p:pipeline ...>
>   <p:input port="source">
>     <p:document href="..."/>
>   </p:input>
>   ...
> 
> is exactly the same as
> 
> <p:declare-step ...>
>   <p:input port="source"/>
>   <p:input port="parameters" kind="parameter"/>
>   <p:output port="result"/>
>   <p:input port="source">
>     <p:document href="..."/>
>   </p:input>
>   ...
> 
> which is a duplicate declaration of the input port named "source".

I think you are right, you would get a duplicate declaration. By
applying the same rule, I assume the same applies to the "result" output
port, so you can't do things like this with p:pipeline:

<p:pipeline>
  <p:output port="result">
    <p:pipe step="one" port="result"/>
  </p:output>

  <p:identity name="one"/>
  <p:identity name="two"/>
<p:pipeline>

Right?

Regards,
Vojtech

Received on Tuesday, 7 July 2009 07:51:10 UTC