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

Re: In XSLT 3.0, should the "document" function be av

Subject: Re: In XSLT 3.0, should the "document" function be available in xsl:evaluate?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jan 2017 19:04:03 -0000
Re:  In XSLT 3.0
Looks pretty clear it's a bug.

I also spotted recently that Saxon's xsl:evaluate allows you to call
stylesheet functions that are (explicitly or implicitly) private.

We'll only catch these things if people notice them and report them.

Michael Kay

> On 16 Jan 2017, at 15:04, Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On 16.01.2017 15:55, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
>> Have you also tried the XPath function doc() ?
> Yes, using 'doc' instead of 'document' all three implementations return the
same result, namely two times the stylesheet code. But I am not so much
looking for a solution to get some code working but I am rather trying to
understand why Saxon or XMLSpy make 'document' available in xsl:evaluate,
given that the spec seems to exclude XSLT only functions.

Current Thread


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.
First Name
Last Name
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.