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

[Bug 4095] Static typing of K-InternalVariablesWith-12

From: <bugzilla@wiggum.w3.org>
Date: Mon, 18 Dec 2006 16:34:25 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GwLRZ-0001ex-Al@wiggum.w3.org>

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

           Summary: Static typing of K-InternalVariablesWith-12
           Product: XML Query Test Suite
           Version: 1.0.2
          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


Since local:myFunc() is statically typed as item()*, the equality test fails
static typing.

declare variable $var1 := local:myFunc();
declare function local:myFunc()
{
        1
};
$var1 eq 1
Received on Monday, 18 December 2006 16:34:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:16 UTC