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] (ODATA-1088) Clarify affect of applying an Annotation to an element


    [ https://issues.oasis-open.org/browse/ODATA-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=66729#comment-66729 ] 

Ralf Handl commented on ODATA-1088:
-----------------------------------

Chapter 14 already states that annotations can be applied both to schema elements ("metadata annotations") and on instance level, see http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/csprd01/odata-csdl-xml-v4.01-csprd01.html#_Toc472333098:

[...] Where the same annotation is defined at both the metadata and instance level, the instance-level annotation overrides the annotation specified at the metadata level. Instance annotations appear in the actual payload as described in [OData JSON]. Annotations that apply across instances should be specified as metadata annotations. [...]


> Clarify affect of applying an Annotation to an element
> ------------------------------------------------------
>
>                 Key: ODATA-1088
>                 URL: https://issues.oasis-open.org/browse/ODATA-1088
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: CSDL JSON , CSDL XML
>    Affects Versions: V4.01_CSD02
>         Environment: Implementations
>            Reporter: George Ericson
>             Fix For: V4.01_CS02
>
>
> My assumption is that an annotation applied to a schema element will apply to all instances of that schema element.
> There are some examples where groups are proposing to apply annotations to specific schema instances.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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