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

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