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

Remove restriction on overriding of annotations on type definitions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CSD01
    • Fix Version/s: V4.01_CSD02
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      Optimistically applied

    • Proposal:
      Hide

      Replace the text describing how annotations applied to type definitions are evaluated and restriction on overriding in section 11.1 with equivalent wording from section 14.2 on annotation propagation.

      Show
      Replace the text describing how annotations applied to type definitions are evaluated and restriction on overriding in section 11.1 with equivalent wording from section 14.2 on annotation propagation.

      Description

      CSDL XML states in section 11.1 that

      "The use of a type definition MUST NOT specify an annotation specified in the type definition."

      This would prevent e.g. to annotate a label "Email Address" on a type definition and then annotate a label "Main Email Address" on a property typed with this type definition.

        Attachments

          Activity

          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          The issue was how to handle conflicting information. For example, if a typedefinition defined an id as type as a read-only string, and then someone tried to annotate it as updatable... Same applies to other constraints, etc.

          Show
          mikep Michael Pizzo (Inactive) added a comment - The issue was how to handle conflicting information. For example, if a typedefinition defined an id as type as a read-only string, and then someone tried to annotate it as updatable... Same applies to other constraints, etc.
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          Since this rule was written we have defined rules clarifying that propagation of annotations is dependent upon the term (and even give overriding the label from a typedefinition as an example). We should revise the text to use similar wording here.

          Show
          mikep Michael Pizzo (Inactive) added a comment - Since this rule was written we have defined rules clarifying that propagation of annotations is dependent upon the term (and even give overriding the label from a typedefinition as an example). We should revise the text to use similar wording here.
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          Resolved as proposed 2017-6-8.

          Show
          mikep Michael Pizzo (Inactive) added a comment - Resolved as proposed 2017-6-8.
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          Application approved 2017-6-8.

          Show
          mikep Michael Pizzo (Inactive) added a comment - Application approved 2017-6-8.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: