Olabusayo Kilo created DAFFODIL-3086:
----------------------------------------
Summary: Remove Fractional Microseconds support from TDML Runner
Key: DAFFODIL-3086
URL: https://issues.apache.org/jira/browse/DAFFODIL-3086
Project: Daffodil
Issue Type: Bug
Components: ICU, TDML Runner
Affects Versions: 4.2.0
Reporter: Olabusayo Kilo
Assignee: Guichard Desrosiers
DAFFODIL-3077 introduced a regression where data that contained anything
smaller than fractional milliseconds are now being recognized. Previously ICU
dropped these as it only supports fractional milliseconds, but with the new
Gregorian calendar, it recognizes fractional microseconds and breaks.
Sample Schema:
{code:java}
<xs:choice>
<xs:element name="Timestamp" type="xs:dateTime"
dfdl:calendarPattern="yyyy-MM-dd'T'HH:mm:ssXXX" />
<xs:element name="TimestampNano" type="xs:dateTime"
dfdl:calendarPattern="yyyy-MM-dd'T'HH:mm:ss.SSSXXX" />
</xs:choice>{code}
Sample Data:
2003-08-24T05:14:15.000003-07:00
Expected Infoset:
<TimestampNano
xsi:type="xs:dateTime">2003-08-24T05:14:15.000003-07:00</TimestampNano>
This should pass with roundtrip=twoPass as in 4.1.0 but it is failing.
We need a way for the TDML Runner to continue to ignore fractional microseconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)