W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[Bug 4248] K2-DocumentURIFunc-10

From: <bugzilla@wiggum.w3.org>
Date: Wed, 17 Jan 2007 12:23:14 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H79ow-0005F6-5C@wiggum.w3.org>

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

           Summary: K2-DocumentURIFunc-10
           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: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The argument to fn:root is being typed as a zero-or-more sequence, hence there
is a static type check error.

(:*******************************************************:)
(: Test: K2-DocumentURIFunc-10                           :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-15T15:15:45+01:00                       :)
(: Purpose: Invoke on a tree document node with fn:root(). :)
(:*******************************************************:)
let $i := document
{
<e>
        <a/>
        <a/>
        <a/>
            <b/>
            <b/>
        <a/>
        <a/>
</e>
}
return empty(document-uri(root($i/a/b[1])))
Received on Wednesday, 17 January 2007 12:23:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC