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

Clarify precidence rules for odata.include-annotations preference

    XMLWordPrintable

    Details

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

      [Applied]

      Description

      In the description for precedence of terms in the odata.include-annotations preference we say "The most specific identifier always takes precedence."

      This was intended to imply that, if you have two rules (Foo.* and Foo.Bar.*)that can match a particular annotation (Foo.Bar.blah), the most specific match wins (Foo.Bar).

      I recently got a question whether the wording implies that, if you have "Foo." and "Foo.Bar.", then it's the same as "Foo.Bar.*" – i.e., that adding the more specific identifier makes it as if the former was not specified.

      I don't think this will be a common misinterpretation, but perhaps we should clarify just in case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: