[Bug 8269] New: [XQTS] CVS: last-23

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8269

           Summary: [XQTS] CVS: last-23
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


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


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 12 November 2009 11:37:25 UTC