Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1478

7.2.3 Precision: clarify absence of $Precision for DateTimeOffset

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: CSDL JSON
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Clarify that this is intentional. In CSDL JSON write

      Absence of $Precision means unspecified precision both for decimal and temporal properties.

      in CSDL XML write:

      If not specified for a decimal property, the decimal property has unspecified precision.

      Show
      Clarify that this is intentional. In CSDL JSON write Absence of $Precision means unspecified precision both for decimal and temporal properties . in CSDL XML write: If not specified for a decimal property, the decimal property has unspecified precision.

      Description

      CSDL XML defines different meaning for the absence of the Precision attribute depending on the type (Decimal versus DateTimeOffset).

      CSDL JSON does not define a different meaning for absence of the $Precision member. This is intentional, seeĀ ODATA-1115.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: