[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 <>)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|