This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1471 - [FO] Cardinality of fn:dateTime arguments
Summary: [FO] Cardinality of fn:dateTime arguments
Status: CLOSED DUPLICATE of bug 3651
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on: 1467
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-19 20:07 UTC by Michael Rys
Modified: 2006-10-05 09:24 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2005-05-19 20:07:11 UTC
Propose to allow empty since this function operates like a casting/constructor 
and should accept empty (as the constructor functions do):

fn:dateTime($arg1 as xs:date?, $arg2 as xs:time?) as xs:dateTime?
The result xs:dateTime has a date component whose value is equal to $arg1 and 
a time component whose value is equal to $arg2. If any of the arguments is the 
empty sequence, the result is the empty sequence.
Comment 1 Mary Holstege 2005-07-21 20:44:02 UTC
The working group considered this comment at its meeting today
and decided not to accept it. For rationale, please see bug 1467.
Comment 2 Michael Kay 2006-10-05 09:22:24 UTC
For the record, this was raised again under bug #3651, and the WGs changed their collective mind on the issue. The proposed change was accepted.
Comment 3 Michael Kay 2006-10-05 09:23:36 UTC

*** This bug has been marked as a duplicate of bug 3651 ***