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

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Jan 2007 13:57:59 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H4HUF-00045i-Mp@wiggum.w3.org>

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

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