This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The tests fn-dateTime-28, fn-dateTime-29, and fn-dateTime-30 check that fn:dateTime accepts an empty sequence as as an argument. However, that seems to contract the F&O spec: 5.2 A Special Constructor Function for xs:dateTime ... fn:dateTime($arg1 as xs:date, $arg2 as xs:time) as xs:dateTime Note there is no '?' in the prototype. Yes, the Constructor Functions defiuned in 3.12.5 in the XQuery spec have '?' in their types, but that does not imply a '?' for fn:dateTime function. (Note that the 3.12.5 functions are in the xs namespace, as opposed to the fn namespace.)
Hey Per: Thanks for the message. The Working group recently changed the function signature (fn:dateTime) to include "?". This change will probably be reflected soon. Thanks, Carmelo
(In reply to comment #2) I suspected that might be the case. Thanks for the quick reply.