Norman Walsh wrote:
/ Julian Reschke <[EMAIL PROTECTED]> was heard to say: | -> Neither xsd:dateTime nor RFC3339 are perfect for our needs, so we | may have to profile one of them. In which case I'd prefer to stick | with RFC3339.
Perhaps a compromise? Date Construct values MUST be valid xsd:dateTime values and MUST also match the following regular expression:
[0-9]{8}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?(Z|[\+\-][0-9]{2}:[0-9]{2})
(Expressed for my own testing purposes in XML Schema pattern syntax.)
Sounds good to me, except that I would keep the reference to RFC3339 (semantics are the same, but I think RFC3339 is more readable).
Best regards, Julian
-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760