[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Java Extension Functions and XT

Subject: RE: Java Extension Functions and XT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 28 Jul 1999 09:29:06 +0100
java extension expect
The spec is very unspecific about whether extension functions can have
side-effects or not (in this case, the side-effect is remembering it has
been called). It doesn't say they can, and it doesn't say they can't.
Equally it doesn't say in what order or how often functions will be called,
so you could infer from that that the behaviour of functions with
side-effects is not well-defined.

In SAXON your code would have the effect you expect, but there's nothing in
the standard itself that entitles you to expect this behaviour.

Mike Kay

 
> I'm using xsl:variable to hold the return value of logon:seed().
> logon:seed() is a function that will change values every time 
> it is called.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.