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

null and empty paths in Annotation Path, Property Path, Navigation Property Path

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Proposal:
      Hide

      Change text for restriction in section 14.4.1.3 Annotation Path to

      A non-null path MUST resolve to an annotation.

      Change text for restriction in section 14.4.1.5 Navigation Property Path to

      A non-null path MUST resolve to a model element whose type is an abstract or concrete entity type, or a collection of abstract or concrete entity types, e.g. a navigation property.

      Change text for restriction in section 14.4.1.6 Property Path to

      A non-null path MUST resolve to a model element whose type is an abstract or concrete primitive or complex type, or a collection of abstract or concrete primitive or complex types, e.g. a structural property.

      Show
      Change text for restriction in section 14.4.1.3 Annotation Path to A non-null path MUST resolve to an annotation. Change text for restriction in section 14.4.1.5 Navigation Property Path to A non-null path MUST resolve to a model element whose type is an abstract or concrete entity type, or a collection of abstract or concrete entity types, e.g. a navigation property. Change text for restriction in section 14.4.1.6 Property Path to A non-null path MUST resolve to a model element whose type is an abstract or concrete primitive or complex type, or a collection of abstract or concrete primitive or complex types, e.g. a structural property.
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/64650/odata-csdl-json-v4.01-wd05-2019-02-01.docx https://www.oasis-open.org/committees/download.php/64649/odata-csdl-xml-v4.01-wd06-2019-02-01.docx

      Description

      The path syntax in annotations defines the empty path to mean "the annotated model element".

      The sections on AnnotationPath, NavigationPropertyPath, and PropertyPath define a restriction on the last path element.

      This can be mis-interpreted as "such a path must not be empty, and must not be null".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: