[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: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Nov 2020 16:36:02 -0000
Re:  Random UUID in pure XSLT?
On Thu, 12 Nov 2020 at 16:28, Dimitre Novatchev dnovatchev@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> > 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?
>
> There is no reason why doc() and document() should be "more deterministic"
> than unparsed-text().
>
> I don't expect that anyone wrote XSLT code that relies on these functions
> being deterministic. Thus, correcting the tagging in a future specification
> and implementing them the right way is not likely to result in
> compatibility issues.
>
> Cheers,
> Dimitre
>
>
I'm not sure I agree with that. I'm sure someone (quite possibly me) has

<xsl:template match="whatever">
<xsl:if test="@foo=doc('http://example.com/zzz.xml')/a/b/c">...
...
</xsl:template>


and doesn't expect this to expose the order of template evaluation with the
value of doc(' http://example.com/ zzz.xml')/a/b/c changing every time, nor
in fact expect that the server is hit as many times as there are <whatever>
elements

David

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/2739265> (by
> email <>)

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.