W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

[Bug 3591] context-item-1 assumes context item undefined

From: <bugzilla@wiggum.w3.org>
Date: Wed, 09 Aug 2006 11:21:49 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GAm8D-0007Mp-Dq@wiggum.w3.org>

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

           Summary: context-item-1 assumes context item undefined
           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: davidc@nag.co.uk
         QAContact: public-qt-comments@w3.org


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()
Received on Wednesday, 9 August 2006 11:22:03 GMT

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