W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

[Bug 5453] CVS: K2-NodeTest-32 static typing

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Feb 2008 15:54:06 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JMmb8-00058q-BW@wiggum.w3.org>

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

           Summary: CVS: K2-NodeTest-32 static typing
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            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


As hinted at in the comment, K2-NodeTest-32 should expect an error (XPTY0004)
if static typing is in effect.  

(:*******************************************************:)
(: Test: K2-NodeTest-32                                  :)
(: Written by: Frans Englich                             :)
(: Date: 2007-11-22T11:31:21+01:00                       :)
(: Purpose: We evaluate to only atomic values, although the static type does
not
 reflect that. :)
(:*******************************************************:)
<e>
      <a/>
      <b/>
</e>/(if(position() = 10) then (<e/>, .) else 4)
Received on Wednesday, 6 February 2008 15:54:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:49 GMT