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

[Bug 3772] [XSLT 2.0] function-available cannot be used to detect extension functions

From: <bugzilla@wiggum.w3.org>
Date: Wed, 27 Sep 2006 10:20:47 +0000
To: public-qt-comments@w3.org
Message-Id: <E1GSWX1-0002ce-Ng@wiggum.w3.org>


------- Comment #1 from mike@saxonica.com  2006-09-27 10:20 -------
I think the spec makes an unstated assumption that an extension function is
present in the static context for use-when if and only if it is present in the
static context for the relevant part of the stylesheet. We should state this

Suggested wording: in 3.12, in the table for static context components, in the
entry for in-scope functions, change "an implementation-defined set of
extension functions" to "the set of extension functions that are present in the
static context of every XPath expression (other than a use-when expression)
within the content of the element that is the parent of the use-when

Also add a note: this ensures that function-available returns true in respect
of extension functions that can be called within the scope of the use-when
attribute. It also has the effect that these extension functions will be
recognized within the use-when attribute itself; however, the fact that a
function is available gives no guarantee that a call on the function will
Received on Wednesday, 27 September 2006 10:20:56 UTC

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