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 4218 - Static typing of K2-Axes-32, 33, 52
Summary: Static typing of K2-Axes-32, 33, 52
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 XP
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-15 11:14 UTC by Tim Mills
Modified: 2007-01-17 10:21 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-15 11:14:28 UTC
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/(/)/..))
Comment 1 Frans Englich 2007-01-15 16:46:06 UTC
An attempted fix has been committed to CVS, and should be part of
XQTS_current.zip. Feel free to verify that the fix is acceptable, and if so,
change status to CLOSED. If the attempted fix is not acceptable, reopen this
report.

If no opinion about this resolution is expressed within two weeks, it will be
closed.
Comment 2 Tim Mills 2007-01-17 10:21:34 UTC
K2-Axes-32, 33 and 52 are now fixed.  Thanks.