W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2007

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

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 8 Nov 2007 11:21:47 +0100
Message-ID: <546c6c1c0711080221j267abd10w1bc9dfca48cb3a1d@mail.gmail.com>
To: "Richard Tobin" <richard@inf.ed.ac.uk>
Cc: "Norman Walsh" <ndw@nwalsh.com>, public-xml-processing-model-wg@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT