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

Typo in Example 32: An entity container aggregates entity sets, singletons, action imports, and function imports.

    XMLWordPrintable

    Details

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

      Description

      Example 32 in CSDL section 13 "Entity Container" shows incorrect target paths in 4 cases, e.g.

      <NavigationPropertyBinding Path="Category" Target="Self.DemoService.Categories" />

      should have slash in place of last ".". e.g.

      <NavigationPropertyBinding Path="Category" Target="Self.DemoService/Categories" />

      13.4.2 Attribute Target states:

      A navigation property binding MUST specify a SimpleIdentifier or TargetPath ...

      and section 17.5 TargetPath says:

      The allowed path expressions are:
      ยท The QualifiedName of an entity container, followed by a forward slash and the name of a container child element

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: