You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 10 moved from XMLGregorianCalendar to OffsetDateTime.
This is a bad choice because:
Zone offsets are optional (quote from ISO20022_MDRPart2_GeneralMeeting_2021_2022.pdf):
ISODateTime
Definition: A particular point in the progression of time defined by a mandatory date and a mandatory
time component, expressed in either UTC time format (YYYY-MM-DDThh:mm:ss.sssZ), local time with
UTC offset format (YYYY-MM-DDThh:mm:ss.sss+/-hh:mm), or local time format (YYYY-MMDDThh:
mm:ss.sss). These representations are defined in "XML Schema Part 2: Datatypes Second
Edition - W3C Recommendation 28 October 2004" which is aligned with ISO 8601. [...]
OffsetDateTime does not support the concept of unknown / missing time zones. With XMLGregorianCalendar it was possible to check fields against FIELD_UNDEFINED:
I can work around this issue by replacing com.prowidesoftware.swift.model.mx.adapters.OffsetDateTimeAdapter.
There is no action required from your side, I just wanted to point out this problem. (Maybe the default adapter could treat missing offsets as system time zone, but that's also questionable. The time zone of the sender would be better, but cannot be determined from the MX message.)
The text was updated successfully, but these errors were encountered:
Version 10 moved from XMLGregorianCalendar to OffsetDateTime.
This is a bad choice because:
I can work around this issue by replacing com.prowidesoftware.swift.model.mx.adapters.OffsetDateTimeAdapter.
There is no action required from your side, I just wanted to point out this problem. (Maybe the default adapter could treat missing offsets as system time zone, but that's also questionable. The time zone of the sender would be better, but cannot be determined from the MX message.)
The text was updated successfully, but these errors were encountered: