[ https://issues.oasis-open.org/browse/ODATA-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Zurmuehl updated ODATA-773:
----------------------------------
Description:
The CSDL specification states in http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part3-csdl/odata-v4.0-errata02-os-part3-csdl-complete.html#_Toc406009991 that:
"Metadata annotations can be used to define additional characteristics or capabilities of a metadata element (...). Instance annotations can be used to define additional information (...). 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."
The JSON format specification is incomplete because it do not allow overriding metadata-level annotations <b>that use a qualifier</b>, because qualifiers in instance annotations are not supported by the JSON format.
See also Jira Ticket ODATA-772.
was:
The CSDL specification states in http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part3-csdl/odata-v4.0-errata02-os-part3-csdl-complete.html#_Toc406009991 that:
"Metadata annotations can be used to define additional characteristics or capabilities of a metadata element (...). Instance annotations can be used to define additional information (...). 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."
The JSON format specification is incomplete because it do not allow overriding metadata-level annotations <b>that use a qualifier</b>, because qualifiers in instance annotations are not supported by the JSON format.
See also Jira Ticket ODATA-772 and ODATA-774.
> Qualifiers for instance annotations: JSON Format
> ------------------------------------------------
>
> Key: ODATA-773
> URL: https://issues.oasis-open.org/browse/ODATA-773
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData JSON Format
> Affects Versions: V4.0_ERRATA02
> Environment: [Proposed]
> Reporter: Martin Zurmuehl
> Fix For: V4.0_ERRATA03
>
>
> The CSDL specification states in http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part3-csdl/odata-v4.0-errata02-os-part3-csdl-complete.html#_Toc406009991 that:
> "Metadata annotations can be used to define additional characteristics or capabilities of a metadata element (...). Instance annotations can be used to define additional information (...). 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."
> The JSON format specification is incomplete because it do not allow overriding metadata-level annotations <b>that use a qualifier</b>, because qualifiers in instance annotations are not supported by the JSON format.
> See also Jira Ticket ODATA-772.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)