W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3687] Static typing of fn:lang

From: <bugzilla@wiggum.w3.org>
Date: Fri, 08 Sep 2006 16:23:05 +0000
To: public-qt-comments@w3.org
Message-Id: <E1GLj8D-0007Rj-MS@wiggum.w3.org>


           Summary: Static typing of fn:lang
           Product: XML Query Test Suite
           Version: 1.0
          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

Queries fn-lang-18 to fn-lang-21 fail static type checking because:

e.g. fn:lang("en",$input-context1/langs/para[1])

fn:lang($testlang as xs:string?, $node as node()) as xs:boolean



typechecks as element()* (i.e. a sequence)

There are similar problems for query fn-root-14.
Received on Friday, 8 September 2006 16:23:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:14 UTC