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

[Bug 28665] New: XPDY0002 vs. XQDY0054

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 May 2015 16:27:14 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28665-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28665

            Bug ID: 28665
           Summary: XPDY0002 vs. XQDY0054
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org

The following two test cases...

  contextDecl-018, contextDecl-019

contain the following queries:

  declare context item := last() + 1; .
  declare context item := position() + 1; .

I would expect XQDY0054 to be valid alternative error codes, because position()
or last() create circular dependencies as well (at runtime, at the latest).

As an alternative, error code XPDY0002 could be allowed as alternative for the
following three queries:

  contextDecl-015, contextDecl-053, extvardef-015

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 20 May 2015 16:27:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 20 May 2015 16:27:16 UTC