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

Hi Folks,

Suppose I create an XProc pipeline that splits off into two parallel paths. For example, one path does XML Schema validation and the other path does Schematron validation on the same instance document. 

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?

/Roger

Received on Thursday, 28 May 2009 15:38:39 UTC