[Bug 20902] New: [XQ30] Incompatibilities

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 UTC