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 8269 - [XQTS] CVS: last-23
Summary: [XQTS] CVS: last-23
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 11:37 UTC by Tim Mills
Modified: 2010-02-10 11:26 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2009-11-12 11:37:23 UTC
I suspect that the expected result of test last-23

<?xml version="1.0" encoding="UTF-8"?>Jane Doe 5 John Doe 6 Jane Doe 7 John Doe 8 Jane Doe 9 John Doe 10 Jane Doe 11 John Doe 12 Jane Doe 13

is wrong as it contains no <overtime> elements in the result.

(: Name: last-23 :)
(: Description: Evaluation of "last()" within a positional predicate :)
(: Author: Michael Kay :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

for $h in ($input-context1/works)
  return $h/employee[position() = 5 to last()]/overtime
Comment 1 Michael Kay 2009-11-13 15:11:14 UTC
Seems I failed to commit the final version of the test. Now fixed.
Comment 2 Tim Mills 2009-11-19 17:07:26 UTC
Thanks.
Comment 3 Tim Mills 2009-12-16 12:12:57 UTC
I think the XQueryX version of this query needs to be regenerated.
Comment 4 Andrew Eisenberg 2010-01-22 18:54:44 UTC
I regenerated all XQueryX files on Jan. 7.

Please close this bur report if you find this resolution to be acceptable.


Comment 5 Tim Mills 2010-02-10 11:26:32 UTC
Thanks.