OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [odata-comment] Fwd: Are Edm.Stream properties supported in complex types?


Hello Vasily,

Complex types support stream properties. We'll change the Atom Format specification to

9.1 Element atom:link

An entity or complex type instance 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.

The JSON specification will be changed accordingly.

This change is tracked in https://tools.oasis-open.org/issues/browse/ODATA-465. 

Thanks for pointing this out!
--Ralf Handl


-----Original Message-----
From: odata-comment@lists.oasis-open.org [mailto:odata-comment@lists.oasis-open.org] On Behalf Of ??????? ?????????
Sent: Wednesday, 17. July 2013 14:29
To: odata-comment@lists.oasis-open.org
Subject: [odata-comment] Fwd: Are Edm.Stream properties supported in complex types?



Hello!

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

Best regards, Vasily Kudriavtsev


-- 

This publicly archived list offers a means to provide input to the

OASIS Open Data Protocol (OData) TC.



In order to verify user consent to the Feedback License terms and

to minimize spam in the list archive, subscription is required

before posting.



Subscribe: odata-comment-subscribe@lists.oasis-open.org

Unsubscribe: odata-comment-unsubscribe@lists.oasis-open.org

List help: odata-comment-help@lists.oasis-open.org

List archive: http://lists.oasis-open.org/archives/odata-comment/

Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf

List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Committee: http://www.oasis-open.org/committees/odata

Join OASIS: http://www.oasis-open.org/join/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]