W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

Re: [XSLT 2.0] Extension functions, use-when and function-available()

From: Colin Adams <colinpauladams@hotmail.com>
Date: Tue, 26 Sep 2006 13:34:03 +0100
Message-ID: <BAY120-F4D92FECADFACC277F3410DA250@phx.gbl>
To: davidc@nag.co.uk
Cc: public-qt-comments@w3.org

It doesn't, you are right.

But my point is the use of the wording:

"are not included in the context, which means
that the function function-available will return false in respect of such 

The implication is that it is because the functions are not in the use-when 
static context, then available-fumctions will return false. This implication 
is not dependent upon them being stylesheet functions.

I assume stylesheet functions actually get a false answer because it is 
logically impossible for available-functions to know whether or not they 
will be in the runtime static context, as that depends upon the result of 
use-when processing.

But this is not the case with extension functions. And the whole rational 
for use-when + avaialble-functions is to determine whether or not the 
extension functions are available.

So I think we have an editorial bug here.
>From: David Carlisle <davidc@nag.co.uk>
>   But I think the following wording from section 3.12 implies that it may 
>   do so:
>   "Note that stylesheet functions are not included in the context, which 
>   that the function function-available will return false in respect of 
>   functions."
>I think that "stylesheet functions" refers to functions declared in the
>stylesheet with xsl:function doesn't it? It doesn't refer to vendor
>supplied extensions built into the engine.

The new Windows Live Toolbar helps you guard against viruses 
Received on Tuesday, 26 September 2006 12:34:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:15 UTC