This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5453 - CVS: K2-NodeTest-32 static typing
Summary: CVS: K2-NodeTest-32 static typing
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 15:54 UTC by Tim Mills
Modified: 2008-03-03 09:15 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2008-02-06 15:54:06 UTC
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)
Comment 1 Frans Englich 2008-02-29 12:00:07 UTC
Fixed in CVS.
Comment 2 Tim Mills 2008-03-03 09:15:52 UTC
Thanks.