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

processing steps every time

From: James Fuller <james.fuller.2007@gmail.com>
Date: Fri, 2 May 2008 11:17:29 +0200
Message-ID: <a0ad8ffe0805020217g1fe5124w201518ab1c470d02@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

in section 2 Pipeline Concepts it states;

'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. A pipeline must behave as if it evaluated
each step each time it occurs. Unless otherwise indicated,
implementations must not assume that steps are functional (that is,
that their outputs depend only on their inputs, options, and
parameters) or side-effect free.'

wondering if this is too limiting a paragraph with respect to possible
future optimizations ... for example, does the above term 'evaluated'
include simplifying a multi-container step to a container step, when
static analysis reveals that a certain logic branch (e.g. xpath
condition) is never satisfied.

cheers, Jim Fuller
Received on Friday, 2 May 2008 09:18:01 UTC

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