Re: Random UUID in pure XSLT?

"David Carlisle [email protected]" <[email protected]>
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
On Thu, 12 Nov 2020 at 16:28, Dimitre Novatchev [email protected] <
[email protected]> 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 <>)
>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386
or by email: [email protected]
--~--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.