W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > January 2008

Re: Execution order of steps in a pipeline

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 25 Jan 2008 12:51:39 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m21w85eqtw.fsf@nwalsh.com>
/ Toman_Vojtech@emc.com was heard to say:
| I have a question about evaluating the steps of a pipeline. Section 2
| says:
| "The result of evaluating a pipeline (or subpipeline) is the result of
| evaluating the steps that it contains, in an order consistent with the
| connections between them. [...]"
| I am sure this has been asked before (even though I could not find any
| discussion about this topic), but is this really necessary? Why cannot
| the execution of the contained steps just follow the document order?

Mostly because doing so would put an unnecessary burden on pipeline
authors. (Implementors wouldn't benefit from the change because they'd
have to check all the connections anyway.)

Consider a pipeline that contains a linear sequence of steps where one
of the steps is an XSLT step:

    <p:input port="stylesheet">
      <p:pipe step="generator" port="result"/>

Why should the pipeline author be required to place the step named
"generator" before the p:xslt step?

The status-quo gives pipeline authors freedom to organize their steps
in a manner that's convenient for them.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | What is more wonderful than the delight
http://nwalsh.com/            | which the mind feels when it *knows*?
                              | This delight is not for anything beyond
                              | the knowing, but is in the act of
                              | knowing. It is the satisfaction of a
                              | primary instinct.--Mark Rutherford

Received on Friday, 25 January 2008 17:52:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC