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

14.2.1 Attribute Target: targeting of nested properties of structured types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Add rule

      • QualifiedName of a structured type followed by zero or more property, navigation property, or type cast segments, each segment starting with a forward slash

      Add examples
      MySchema.MyEntityType/MyComplexProperty/MyProperty
      MySchema.MyEntityType/MyComplexProperty/MyNavigationProperty
      MySchema.MyComplexType/MyComplexProperty/MyProperty
      MySchema.MyComplexType/MyComplexProperty/MyNavigationProperty

      Show
      Add rule QualifiedName of a structured type followed by zero or more property, navigation property, or type cast segments, each segment starting with a forward slash Add examples MySchema.MyEntityType/MyComplexProperty/MyProperty MySchema.MyEntityType/MyComplexProperty/MyNavigationProperty MySchema.MyComplexType/MyComplexProperty/MyProperty MySchema.MyComplexType/MyComplexProperty/MyNavigationProperty
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/57135/odata-v4.0-wd08-part3-csdl-2015-12-15.docx

      Description

      Section 14.2.1 describes possible values of the Target attribute. It allows an arbitrary number of property, navigation property, or type cast segments after an entity set or singleton to have different annotations depending of the use of a structured type. It doesn't state that for annotations on the type itself, e.g. having a specialized annotation on a property of a complex type when used within an entity type.

      This is a clear omission as both path expressions within annotations as well as target paths via entity sets and singletons allow this

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: