- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 26 Sep 2006 06:19:50 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3769
Summary: fn-dateTime-28, fn-dateTime-29, fn-dateTime-30 assume
empty sequence is ok
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: per@bothner.com
QAContact: public-qt-comments@w3.org
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.)
Received on Tuesday, 26 September 2006 06:20:01 UTC