This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:script and side-effects
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl:script and side-effects
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 16 Feb 2001 09:32:32 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> This is a hole in the spec that ought to be patched.
>
> (I'd prefer that it be patched by adding a brief note stating that
> the order of side-effects in user-supplied extension functions is
> implementation-dependent.
We had such a section in an earlier draft but it seems to have been pruned
at some stage, perhaps because it didn't actually say anything very
definitive.
It's certainly true that anyone who writes extension functions that aren't
pure functions is living dangerously.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list