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

Re: A side-effect example

From: Alex Milowski <alex@milowski.org>
Date: Mon, 24 Apr 2006 14:04:22 -0700
Message-ID: <444D3D56.7020808@milowski.org>
To: public-xml-processing-model-wg@w3.org
The first flow graph uses aggregation.  I don't see any issue of caching
or side-effects there as there are three separate input/output paths.

The second flow graph uses three separate "sub-steps" where each output
is appened to the current input document of the append step.  From my
perspective, those are still three separate steps and so there are three
different results.  If those sub-steps were sub-pipelines, you could
argue that they should produce the same result.

In the third example, the same step is shared amongst three append
steps.  Here we have to decide on whether there is *caching* of results,
separate invocations, or user control of either behavior.

In all these examples, I don't see side-effects other than the question
of stable results.

Analogous to the document() function in XSLT, an issue for us is
whether flow graph 2 works the same when the output is labeled by a URI.
That is, is the document to URI mapping stable throughout the pipeline

--Alex Milowski

(image/png attachment: side-effects-1.png)

(image/png attachment: side-effects-2.png)

(image/png attachment: side-effects-3.png)

Received on Monday, 24 April 2006 21:05:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:39 UTC