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

RE: XSLT 2.0: function-available() for stylesheet functions

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 15 Apr 2002 23:23:18 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679D34@daemsg02.software-ag.de>
To: "'Bohlmann, Karsten'" <karsten.bohlmann@sap.com>, "'xsl-editors@w3.org'" <xsl-editors@w3.org>
> 
> (1) function-available-as-part-of-the-language-implementation()
> 
> while your interpretation is
> 
> (2) function-call-will-be-successful()

No, there's nothing about function-available that guarantees that a function
call will be successful. It's relevant to test availability of functions in
the core library, in vendor libraries, and in third-party libraries such as
EXSLT.

The important thing is that some of these third-party libraries may be
implemented using xsl:function. The stylesheet writer shouldn't care whether
the function is written in Java, in Javascript, or in XSLT;
function-available() should return true for all these cases.

Michael Kay
Received on Monday, 15 April 2002 17:23:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:53 GMT