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


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

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

Subject: [OASIS Issue Tracker] Commented: (ODATA-254) Selection of individual properties in [ATOM] should not include property name

    [ http://tools.oasis-open.org/issues/browse/ODATA-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32600#action_32600 ] 

Ralf Handl commented on ODATA-254:

Should we also remove the type attribute from the annotation element? Currently it's a local attribute there.

What about data:links and data:uri used for representing LinkUrls (section 12)? 
ODATA-276 already suggests replacing data:uri with metadata:entity-ref, so it would seem logical to replace data:links with metadata:entity-refs or metadata:entity-references.

> Selection of individual properties in [ATOM] should not include property name
> -----------------------------------------------------------------------------
>                 Key: ODATA-254
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-254
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData ATOM Format 
>    Affects Versions: V4.0_WD01
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>            Assignee: Ralf Handl
>             Fix For: V4.0_WD01
> Currently, the example in Section 10 of [ATOM] implies that when selecting a single property (i.e., ~Customers('ALFKI')/FirstName), the payload would contain the name of the property in the d: namespace:
>     <Title xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices";>CEO<Title> 
> This implies that what is represented is a property with a given name, which is not the case; what should be represented is the *value* of the property, which is independent of the property itself (and can thus be used, for example, in passing as a parameter to an action). This is also inconsistent with how a function that returns a single property is represented, and is inconsistent with the JSON format (which represents this as a name/value pair with the name "value").
> We should specify that an individual property is serialized in ATOM as an element named "value" in the odata metadata namespace. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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