Re: Does a primary output have to be connected in all branches?

Thanks Richard ! got it !

And you are proposing that in that particular case, we relax the need
to connect foo!result.

Well wasn't it the first purpose of p:sink ?

Mohamed

Does it mean that when the otherwise branch is

On Nov 8, 2007 11:06 AM, Richard Tobin <richard@inf.ed.ac.uk> wrote:
> > Not sure to fully understand
> >
> > You speak about primary output and then you say used in some branch...
> >
> > Can you draft an exaple ?
>
>
>   <p:pipeline>
>     ...
>     <p:identity name="foo"/>
>
>     <p:choose>
>       <p:when ...>
>         <p:identity>
>           <p:input name="source">
>              <p:pipe step="foo" port="result"/>
>           </p:input>
>         </p:identity>
>       </p:when>
>       <p:otherwise>
>         <p:identity>
>           <p:input name="source">
>              <p:pipe step="someotherstep" port="result"/>
>           </p:input>
>         </p:identity>
>       </p:otherwise>
>     </p:choose>
>     ...
>   </p:pipeline>
>
> The primary output of "foo" is read in the when branch of the choose,
> but not in the otherwise.
>
> -- Richard
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Thursday, 8 November 2007 10:21:56 UTC