[Bug 4218] Static typing of K2-Axes-32, 33, 52

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

           Summary: Static typing of K2-Axes-32, 33, 52
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            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


This report relates to queries in XQTS_current.zip as of 2007-01-15.

In static typing implementations, /.. causes error XPST0005, because the
expression is typed as the empty sequence type.

There is a related error in K2-Axes-52.

(:*******************************************************:)
(: Test: K2-Axes-32                                      :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-12T16:19:58+01:00                       :)
(: Purpose: Apply axis '..' to the return value of fn:root(). :)
(:*******************************************************:)
declare variable $myVar := <e/>;
            empty(fn:root($myVar/(/)/..))

Received on Monday, 15 January 2007 11:14:33 UTC