You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2024/09/10 15:58:00 UTC
[jira] [Closed] (DAFFODIL-1124) DPath: xs:date constructor more lax - allows missing digits
[ https://issues.apache.org/jira/browse/DAFFODIL-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-1124.
-----------------------------------
Verified the specified commit (commit a3d7e38776778f7325e02b5db1234e6dce5ea5ec) is included in the latest pull from the daffodil repository.
Verified, via review, changes identified in the commit comment were implemented.
Verified the affected daffodil subproject sbt test suites executed successfully, including the uncommented test.
> DPath: xs:date constructor more lax - allows missing digits
> -----------------------------------------------------------
>
> Key: DAFFODIL-1124
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1124
> Project: Daffodil
> Issue Type: Bug
> Components: Back End, ICU
> Affects Versions: s15
> Reporter: Jessie Chab
> Assignee: Alex Parker
> Priority: Minor
> Labels: beginner
> Fix For: 3.9.0
>
>
> Note: this issue is in the dpath branches, not the current 0.15.0
> In the XPath implementation of Daffodil, if you provided the xs:date constructor with a date like the following: 1991-03-4, you would get this error:
> Invalid date "1991-03-4" (Day must be two digits). Now the function accepts sincle-digit days and it parses as 1991-03-04+00:00.
> This may be our expected behavior but I thought I should note the discrepancy.
> See test test_date_constructor_01 in the following file:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)