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:31:00 UTC

[jira] [Updated] (DAFFODIL-2671) support minInclusive maxInclusive on date/time/dateTime

     [ https://issues.apache.org/jira/browse/DAFFODIL-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle updated DAFFODIL-2671:
------------------------------------
    Description: 
I am trying to use this simple type:
{code:java}
<simpleType name="msDateTime">
<restriction base="xs:dateTime">
<maxInclusive value="2094-12-31T23:59:59"/>
<minInclusive value="1995-01-01T00:00:00"/>
</restriction>
</simpleType>{code}
I get this diagnostic message:
{code:java}
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").{code}
The other facets (minExclusive, maxExclusive), and the other calendar types (date, time) should also be tested. 

  was:
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. 


> 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
>            Priority: Minor
>
> I am trying to use this simple type:
> {code:java}
> <simpleType name="msDateTime">
> <restriction base="xs:dateTime">
> <maxInclusive value="2094-12-31T23:59:59"/>
> <minInclusive value="1995-01-01T00:00:00"/>
> </restriction>
> </simpleType>{code}
> I get this diagnostic message:
> {code:java}
> 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").{code}
> 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)