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

[Bug 4165] Static typing of fn-namespace-uri-14, 15

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Jan 2007 12:38:53 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H4GFh-0005uo-DX@wiggum.w3.org>

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

           Summary: Static typing of fn-namespace-uri-14, 15
           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


fn:namespace-uri expects node()?, but the argument is typed as a zero-or-more
sequence.

(: Name: fn-namespace-uri-14:)
(: Description: Evaluation of the fn:namespace-uri function argument set to an
e
lement node with no namespace queried from a file.:)
(: Use the fn:count function to avoid empty file. :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

fn:count(fn:namespace-uri($input-context1/works/employee[1]))
Received on Tuesday, 9 January 2007 12:39:16 UTC

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