This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28665 - XPDY0002 vs. XQDY0054
Summary: XPDY0002 vs. XQDY0054
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 16:27 UTC by Christian Gruen
Modified: 2015-06-09 16:27 UTC (History)
0 users

See Also:


Attachments

Description Christian Gruen 2015-05-20 16:27:14 UTC
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
Comment 1 O'Neil Delpratt 2015-06-09 16:27:49 UTC
WG has agreed at today's telcon. to accept Christian's proposal. I have fixed the test cases in question