W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-FO-188-B: no defined relationship between fn:current-date and fn:current-dateTime

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:47:52
Message-Id: <200402162247.i1GMlqb03989@rgmgw4.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 16.4: fn:current-date

It is not stated whether there is any relationship between 
the value of fn:current-date and fn:current-dateTime, merely that
both are stable and both represent some instant during the 
current query or transformation.  This seemingly means that if
a query or transformation runs across a change of day, then 
fn:current-date might not be the same as 
xs:date (fn:current-dateTime).  This seems undesirable.  It 
would be preferable to simply define fn:current-date() as
xs:date (fn:current-dateTime()).  Similarly, fn:current-time()
should be defined as xs:time (fn:current-dateTime())

- Steve B.
Received on Monday, 16 February 2004 17:47:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC