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

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • V4.01_CS02
    • Affects Version/s: V4.01_CS01
    • Component/s: CSDL JSON, CSDL XML
    • None
    • 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.
    • 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

      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".

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: