Uploaded image for project: 'OASIS Universal Business Language (UBL) TC'
  1. OASIS Universal Business Language (UBL) TC
  2. UBL-327

Sample instances do not follow good practice regarding time values having time zone qualifier

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Applied
    • Component/s: None
    • Labels:

      Description

      It was minuted in the meeting of 2021-06-09 that best practice for time values is to include a time zone qualifier. Interestingly, not also for date values, though ISO8601 has it available for date values.

      This was raised when noting that JSON schema requires the time zone qualifier and an instance is considered not schema-valid with the qualifier absent.

      [ https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.7.3.1|https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.7.3.1]

      https://datatracker.ietf.org/doc/html/rfc3339#section-5.6

      Agreed at the meeting that UBL 2.4 should document this best practice and that the XML instances included in the distribution should be modified such that every time value has a meaningful time zone qualifier.

      https://lists.oasis-open.org/archives/ubl/202106/msg00010.html 

        Attachments

          Activity

            People

            • Assignee:
              keesduvekot Kees Duvekot
              Reporter:
              gkholman Ken Holman
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: