[Bug 3971] More XQTS static type errors

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


tim@cbcl.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #14 from tim@cbcl.co.uk  2007-01-22 08:45 -------
This bug is still outstanding.

The argument to fn:root needs to be a zero-or-one sequence, but is statically
typed as a zero-or-more sequence.

(:*******************************************************:)
(: Test: fn-intersect-node-args-003.xq                   :)
(: Written By: Ravindranath Chennoju                     :)
(: Date: Tue Jun 14 03:34:54 2005                        :)
(: Purpose: arg: node                                    :)
(:*******************************************************:)

(: insert-start :)
declare variable $input-context external;
(: insert-end :)

$input-context/bib/book[3]/title intersect
root($input-context/bib/book[3]/title
)

Received on Monday, 22 January 2007 08:45:34 UTC