W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2002

XSLT 2.0: function-available() for stylesheet functions

From: Bohlmann, Karsten <karsten.bohlmann@sap.com>
Date: Mon, 15 Apr 2002 08:45:48 -0400 (EDT)
Message-ID: <67B8CED503F3D511BB9F0008C75DAD660E544F@dbwdfx17.wdf.sap-ag.de>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>

the 2.0 spec says that function-available() can be used to test for the
existence of functions defined with xsl:function.

I always thought that the function-available() and element-available()
functions are there to inquire properties of the *implementation*. I think
it's a bad idea to mix this purpose with the inquiry of properties of the

After all, I cannot test for the existence of named template rules either:
There is no template-available() function. And I don't think there *should*
be an inquiry function for named templates or functions. It is not an option
for a conforming 2.0 implementation whether it makes an xsl:function-defined
function "available" -- it *must* do so.

Besides, more sophisticated implementations will not even *have* the name of
the functions at run-time, because calling is not based on names, but on
(something similar to) addresses.

Best regards,

Karsten Bohlmann

Server Infrastructure Technology
Received on Monday, 15 April 2002 09:16:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC