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 3591 - context-item-1 assumes context item undefined
Summary: context-item-1 assumes context item undefined
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: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 11:21 UTC by David Carlisle
Modified: 2006-08-09 14:18 UTC (History)
0 users

See Also:


Attachments

Description David Carlisle 2006-08-09 11:21:49 UTC
previously listed by Martin Probst in
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3302#c4
but apparently missed.

context-item-1 assumes . is initially undefined
fn:boolean(.)
I generate true for this (false would also be an acceptable result)

I think that the test should be changed to the format used for other similar tests eg fn-string-length-18 

declare namespace eg = "http://example.org";

declare function eg:noContextFunction()
 {
   fn:boolean(.)
};

eg:noContextFunction()
Comment 1 Carmelo Montanez 2006-08-09 13:35:36 UTC
David:

Thanks for find this.  The test in question was chaned a few month ago, however somehow it was not updated along the rest.  The change was made 
and test resubmitted.

Carmelo
Comment 2 David Carlisle 2006-08-09 14:18:51 UTC
thanks