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

[Bug 27779] New: [XQ 3.1] Undocumented incompatibility: version declaration

From: <bugzilla@jessica.w3.org>
Date: Wed, 07 Jan 2015 13:21:30 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27779-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27779

            Bug ID: 27779
           Summary: [XQ 3.1] Undocumented incompatibility: version
                    declaration
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

Section J.1 is intended to list incompatibilities introduced by 3.1, that is,
constructs that are accepted in XQuery 3.0 but have a different effect under a
3.1 processor.

There is an incompatibility not included in the list. If a query contains the
version declaration 

xquery version "3.0"

then an XQuery 3.1 processor is entitled to reject it with error XQST0031.

We might like to reconsider whether we really want to have this unnecessary
incompatibility in our spec, but at the very least we should document its
existence.

Note that this incompatibility affects a number of test cases, which should
either have the version declaration removed, or should permit an alternative
result of XQST0031 if run under a 3.1 processor.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 7 January 2015 13:21:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:46:00 UTC