W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2010

[Bug 10797] New: Expected result for K2-NodeLangFunc-2 is wrong

From: <bugzilla@jessica.w3.org>
Date: Tue, 28 Sep 2010 21:03:26 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-10797-523@http.www.w3.org/Bugs/Public/>

           Summary: Expected result for K2-NodeLangFunc-2 is wrong
           Product: XML Query Test Suite
           Version: 1.0.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: spungi@gmail.com
         QAContact: public-qt-comments@w3.org

The expected result for test  


is 'true'


even though a single attribute node is passed as second argument of fn:lang.


1) the test can be corrected, with something like:
let $i := <e xml:lang="en">
    <b xml:lang="de"/>
return lang("de", $i/b)

2) the expected result should be corrected, and 'false' should be expected

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 28 September 2010 21:03:29 UTC

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