[Bug 1471] New: [FO] Cardinality of fn:dateTime arguments


           Summary: [FO] Cardinality of fn:dateTime arguments
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org
 BugsThisDependsOn: 1467

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.

Received on Thursday, 19 May 2005 20:07:14 UTC