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

Re: Random UUID in pure XSLT?

Subject: Re: Random UUID in pure XSLT?
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Nov 2020 14:59:47 -0000
Re:  Random UUID in pure XSLT?
In my opinion, all those functions that depend on external things, as existence or non-existence of a file, content return by an http request can not be specified as deterministic, as implementors are not responsible of the returned value.

If specification defines these function as deterministic, as an implementor point of view, I should cache the result calculated by the first call, and always return the same content, without querying again the underlying resource ; this is not convenient, especially if the resource is a very huge resource.

I think these functions should not be deterministic.

Best regards,
Christophe

Le 12/11/2020 C 11:33, Norm Tovey-Walsh ndw@xxxxxxxxxx a C)critB :
Dimitre Novatchev dnovatchev@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:
It seems to me that tagging the function unparsed-text() as "deterministic"
was rather inaccurate... And definitely not useful, if we need hacks as
workarounds for its limitations...
Do you think fn:unparsed-text() should be different with respect to
determinism than fn:doc() (and fn:document(), come to that)? Or do you
think they should also be nondeterministic?

(I donbt feel strongly one way or the other, Ibm just wondering about
the distinction.)

                                         Be seeing you,
                                           norm

--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/

If you don't have the time to do it right, where are you going to find
the time to do it over?

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.