W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 15 Jan 2007 11:14:28 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H6PnI-0005YR-SL@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:46 GMT