You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2022/03/13 04:03:00 UTC
[jira] [Created] (DAFFODIL-2671) support minInclusive maxInclusive on date/time/dateTime
Mike Beckerle created DAFFODIL-2671:
---------------------------------------
Summary: support minInclusive maxInclusive on date/time/dateTime
Key: DAFFODIL-2671
URL: https://issues.apache.org/jira/browse/DAFFODIL-2671
Project: Daffodil
Issue Type: New Feature
Components: Back End
Affects Versions: 3.2.1
Reporter: Mike Beckerle
I am trying to use this simple type:
```<simpleType name="msDateTime">
<restriction base="xs:dateTime">
<maxInclusive value="2094-12-31T23:59:59"/>
<minInclusive value="1995-01-01T00:00:00"/>
</restriction>
</simpleType>```
I get this diagnostic message:
```SchemaDefinitionError: Schema Definition Error: Failed to parse (1995-01-01T00:00:00) to dateTime (uuuu-MM-dd'T'HH:mm:ss.SSSSSSxxx) due to Character array is missing "e" notation exponential mark. (after Unparseable date: "1995-01-01T00:00:00").```
The other facets (minExclusive, maxExclusive), and the other calendar types (date, time) should also be tested.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)