[ 
https://issues.apache.org/jira/browse/DAFFODIL-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832215#comment-17832215
 ] 

Mike Beckerle commented on DAFFODIL-2669:
-----------------------------------------

Yes, fn:dateTime(arg1, arg2) seems to be implemented there. 

 

The DFDL spec has a bug in this area. It describes the constructor for 
xs:dateTime as also taking an xs:date and an xs:time as arguments, but that's 
incorrect. The xs:dateTime constructor should take a single string argument. 

The two-arg version is in the "fn:" prefixed namespace.  I will report the 
issue with the DFDL spec.

This ticket can be closed. 

> Two-arg version of fn:dateTime(date, time) constructor function
> ---------------------------------------------------------------
>
>                 Key: DAFFODIL-2669
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2669
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Front End
>    Affects Versions: 3.3.0
>            Reporter: Mike Beckerle
>            Priority: Minor
>
> DFDL defines a two-arg constructor for dateTime types:
> ```
> fn:dateTime($arg1 as xs:date, $arg2 as xs:time) as xs:dateTime
> ```
> This must be implemented.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to