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

[Bug 20902] New: [XQ30] Incompatibilities

From: <bugzilla@jessica.w3.org>
Date: Fri, 08 Feb 2013 10:51:48 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20902-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20902

            Bug ID: 20902
           Summary: [XQ30] Incompatibilities
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0
          Assignee: jonathan.robie@gmail.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

In XQ10, the reserved-function-names extra-grammatical constraint only applied
to FunctionCall.

In XQ30, the constraint also applies to NamedFunctionRef and FunctionDecl. 
This means that some valid XQ10 queries now raise errors, for example:

    declare default function namespace
"http://www.w3.org/2005/xquery-local-functions";
    declare function attribute() { fn:true() };
    local:attribute()

This should be listed in the XQ30 incompatibilities.

I have already committed test cases for reserved function names.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 8 February 2013 10:51:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 8 February 2013 10:51:50 GMT