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

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

From: Colin Adams <colinpauladams@hotmail.com>
Date: Tue, 26 Sep 2006 12:38:35 +0100
Message-ID: <BAY120-F68B3300AA5DFC1391B17DDA250@phx.gbl>
To: public-qt-comments@w3.org

As an implementeor, I get to choose whether some or all of my extension 
functions are present in the static context for use-when processing.

I have chosen to exclude them all.

But a user (Florent Georges) wants to test if one of them is available, and 
compile accordingly.

Now this will only work if function-available is allowed to return true in 
this case.
But I think the following wording from section 3.12 implies that it may not 
do so:

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

And yet, it is necessary that it does return true for use-when processing to 
work.

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters
Received on Tuesday, 26 September 2006 11:38:52 UTC

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