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

[Bug 4162] Static typing of fn-in-scope-prefixes-10 to 16, 19, 20

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Jan 2007 12:18:05 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H4FvZ-0004tw-Ee@wiggum.w3.org>

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

           Summary: Static typing of fn-in-scope-prefixes-10 to 16, 19, 20
           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:in-scope-prefixes returns xs:string*, while fn:string-length is expecting
xs:string?, resulting in a static type checking error.  For
fn-in-scope-prefixes-14, the problem is with the constructor function xs:string
expecting xs:string?.


(: Name: fn-in-scope-prefixes-10 :)
(: Description: Evaluation of fn:in-scope-prefixes function for a directly
const
ructed element used as argument to fn:string-length.:)

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

fn:string-length(fn:in-scope-prefixes(<anElement>Some content</anElement>))
Received on Tuesday, 9 January 2007 12:18:12 UTC

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