From: Justin Johansson <procode(_at_)tpg(_dot_)com(_dot_)au>
Supposing you have a function that is passed two arguments, say, a
condition argument, test, and an argument, value, that returns value if
test is true and the empty sequence otherwise,
is the value argument evaluated at the time of calling the function if the
test argument is false? Is this processor implementation specific and/or
are there any XSLT 2.0 processors which do evaluate lazily?
It is processor specific - there are no constraints on the order in which
arguments are evaluated (or whether they are evaluated at all), provided the
semantics of the particular function are met.
So strict, lazy or speculatively parallel evaluations are all possible.
And yes, some processors do use lazy evaluation.
_________________________________________________________________
Tell MSN about your most memorable emails! http://www.emailbritain.co.uk/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--