On 2018-06-19 00:33, Ivan Kanakarakis wrote:
My vote is on
accepting Z and treat as if no tz was given, reject all other tz - also check for compat w
shib :-)
Shib defines its own XSDateTime class that internally uses the
joda-time library:
http://www.joda.org/joda-time/
The XSDateTime class does not impose any policy or rules or
validations. It only acts like a proxy to the joda-time DateTime
object. This means that Shib will parse and use any (not fully
compatible) ISO-8601 date (with or without a timezone).
So maybe we should apply the Postel principle here and emit only
TZ-free datetime objects but parse all objects.
Cheers Leif