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

ABNF: should allow cast segment following collection of complex 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: ABNF, URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      OData supports a type segment following a single or collection of entity or complex types. The ABNF erroneously omits the type cast segment for collections of complex types.

      Here is the current ABNF:

      propertyPath = entityColNavigationProperty [ collectionNavigation ]
      / entityNavigationProperty [ singleNavigation ]
      / complexColProperty [ collectionPath ]
      / complexProperty [ complexPath ]
      / primitiveColProperty [ collectionPath ]
      / primitiveProperty [ singlePath ]
      / streamProperty [ boundOperation ]

      collectionPath = count / boundOperation

      singlePath = value / boundOperation

      complexPath = [ "/" qualifiedComplexTypeName ]
      ( "/" propertyPath
      / boundOperation

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: