W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2012

[Bug 15912] New: Function items based on collation-dependent functions

From: <bugzilla@jessica.w3.org>
Date: Mon, 06 Feb 2012 15:57:08 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15912-523@http.www.w3.org/Bugs/Public/>

           Summary: Function items based on collation-dependent functions
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

We have a number of bug reports against tests (*) that use constructs such as
contains#2 or deep-equal#2 - constructs which we have disallowed because the
functions in question are context-dependent. I think this points to a usability
problem which we should fix. Users can work around the problem by defining
their own function as a wrapper around the system function, but it's clumsy,
and users are going to trip over this all the time.

I propose that we should remove the ban on forming function items from
context-dependent system functions in the case where the only dependency is on
the static context. In very many of these cases the dependency is on the
default collation. It makes sense to take the default collation from the static
context at the point where the function literal appears. There is no ambiguity,
as there could be in the case of a dependency on the dynamic context.

* Examples: bug #15911, bug #15642

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 6 February 2012 15:57:15 UTC

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