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

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

From: Costello, Roger L. <costello@mitre.org>
Date: Thu, 28 May 2009 11:38:03 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB5003FD201963@IMCMBX3.MITRE.ORG>

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 GMT

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