[Bug 4166] Static typing of fn-lang1args-1, 2, 3 and fn-lang-2

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

           Summary: Static typing of fn-lang1args-1, 2, 3 and fn-lang-2
           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


The second argument to fn:lang is statically typed as a zero-or-more sequence,
rather than the expected exactly-one argument type.

(:*******************************************************:)
(:Test: fn-lang1args-1                                    :)
(:Written By: Carmelo Montanez                            :)
(:Date: Tue Apr 12 16:29:03 GMT-05:00 2005                :)
(:Purpose: Evaluates The "lang" function                 :)
(: with the arguments set as follows:                    :)
(:$testlang = "en", node with no "xml:lang" attribute    :)
(:*******************************************************:)
(: insert-start :)
declare variable $input-context external;
(: insert-end :)

fn:lang(xs:string("en"),$input-context/root/time)

Received on Tuesday, 9 January 2007 13:58:09 UTC