This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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)
Fixed in CVS.
Thanks.