W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2015

[Bug 20843] [XT3TS] function-1902

From: <nobody@w3.org>
Date: Thu, 30 Jul 2015 19:16:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20843-523-mMo2tFR73l@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20843

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Michael Kay <mike@saxonica.com> ---
This test requires an XSLT 2.0 processor to reject calls on 3.0 functions such
as math:sin or fn:has-children.

I can find nothing in the XSLT 2.0 specification that requires this.

Firstly, calls such as math:sin are definitely legal. If the processor chooses
to implement an extension function of this name in this namespace, there is
nothing in the spec to prevent it.

I thought there might be something to prevent the processor adding extension
functions in the FN namespace, but this too appears to be legal.

The spec mandates (in 3.2 Reserved namespaces) that "Reserved namespaces must
not be used... in the names of stylesheet-defined objects such as variables and
stylesheet functions." But there is nothing to prevent their use for extension
functions. This may well be an oversight, but we're dealing here with the spec
as written.

(From a practical perspective, my "XSLT 2.0" processor is actually a 3.0
processor running with certain functionality disabled. I have to decide what to
disable, and I want to disable only what the 2.0 spec strictly requires me to
disable. I don't think it requires me to disable these functions.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 30 July 2015 19:16:54 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 30 July 2015 19:16:55 UTC