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

Re: Better include them in the XSLT 2.0 spec (Was: Re:

Subject: Re: Better include them in the XSLT 2.0 spec (Was: Re: Time for an exslt for 2.0?)
From: Brian Chrisman <incubus@xxxxxxxxxxxxxx>
Date: Thu, 12 May 2005 15:22:04 -0700
Re:  Better include them in the XSLT 2.0 spec (Was: Re:
On Fri, May 13, 2005 at 07:49:58AM +1000, Dimitre Novatchev wrote:
> > The debate with memo-function would be about whether it actually has any
> > semantics, or is merely a performance hint. Could a conformant processor
> > ignore it? What is the effect on a "creative" function, one that constructs
> > new nodes each time it is called?
> 
> xsl:function -s with side effects should not have been allowed -- in
> the first place.
> 
> So it is not only a nice wish to think about memoisation, but probably
> a pressing need to clean up the spec from functions with side 
> effects.
> 
> Or be prepared for all kinds of a nasty surprise following the fact
> that the value of
>    
>        my:f($x) is my:f($x)
> 
> is generally not guaranteed to be true()

Is there some other mechanism which would be used to,
for example, return a random number, other than a function?

> 
> 
> 
> Cheers,
> Dimitre Novatchev.

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.