W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

RE: Difficulty overriding parameter values

From: <Toman_Vojtech@emc.com>
Date: Tue, 7 Jul 2009 03:50:07 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC787101F80AB@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> <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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 7 July 2009 07:51:10 GMT