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

Explicitly mention that complex type instances can have stream properties (public comment c201307e00000)



    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V4.0_CSD02
    • Component/s: ATOM Format, JSON Format
    • Labels:
    • Environment:



      Chapter 9 of Atom and JSON only talked about entities and forgot to mention complex type instances

      The public comment [c201307e00000](https://lists.oasis-open.org/archives/odata-comment/201307/msg00000.html) with title "Are Edm.Stream properties supported in complex types?" states:

      Section 9 of CSDL doc states that:

      "A complex type can define two types of properties. A structural property is a named reference to a primitive, complex, or enumeration type, or a collection of primitive, complex, or enumeration types. A navigation property is a named reference to an entity type or a collection of entity types..."

      Section 4.4 of the same documents includes Edm.Stream into Primitive Types.

      But section 9 of Atom format doc states that:
      "An entity MAY have one or more stream properties (for example, a photo property of an employee entity). Properties that represent streams have a type of Edm.Stream."

      That does not mention complex types.

      Could you clarify wheter complex types support Edm.Stream properties?

      Personally, I would like that feature, an I don't think there is any trouble with it, Complex types support Navigation Properties already.

      CSDL Doc: http://docs.oasis-open.org/odata/odata/v4.0/csprd02/part3-csdl/odata-v4.0-csprd02-part3-csdl.html#_Toc360208810
      Atom Doc: http://docs.oasis-open.org/odata/odata-atom-format/v4.0/csprd02/odata-atom-format-v4.0-csprd02.html




            • Assignee:
              handl Ralf Handl
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue


              • Created: