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

RE: Merging two parallel paths: does the merge step wait until both paths finish?

From: <Toman_Vojtech@emc.com>
Date: Thu, 28 May 2009 11:56:01 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870FB67A7E@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> Suppose this is the step that merges the two paths:
> 
>     <p:identity name="merge">
>         <p:input port="source">
>             <p:pipe step="checkReservedWords" port="result" />
>             <p:pipe step="xsdValidation" port="result" />
>         </p:input>
>     </p:identity>
> 
> Notice the two p:pipe elements: one connects to the output of 
> the XML Schema validation path, and the other connects to the 
> output of the Schematron validation path. 
> 
> Suppose one path finishes before the other. Will this "merge 
> step" wait until both p:pipe elements get a value?

Yes, it will. Or to put it better, it will only be executed when all the
steps it depends on have finished.

Regards,
Vojtech
Received on Thursday, 28 May 2009 15:57:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 May 2009 15:57:40 GMT