W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3769] fn-dateTime-28, fn-dateTime-29, fn-dateTime-30 assume empty sequence is ok

From: <bugzilla@wiggum.w3.org>
Date: Tue, 26 Sep 2006 06:19:50 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GS6II-0004kj-46@wiggum.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:15 UTC