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-819) 10.2.2: Clarify whether enum types allow multiple members with the same value


     [ https://issues.oasis-open.org/browse/ODATA-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-819:
--------------------------------

    Environment: [Proposed]
       Proposal: 

Allow services to support multiple members with the same value.Require that (where supported) members with the same underlying value compare equal, and caution that the choice of which value the service returns is indeterminant. 

> 10.2.2: Clarify whether enum types allow multiple members with the same value
> -----------------------------------------------------------------------------
>
>                 Key: ODATA-819
>                 URL: https://issues.oasis-open.org/browse/ODATA-819
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData CSDL
>    Affects Versions: V4.0_ERRATA02
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_ERRATA03
>
>
> CSDL section 10.2.2 only states that the value of the Value attribute is used for sorting.
> It does not state whether values of the Value attribute have to be unique within an enum type, and it also does not state whether equality comparison of members of non-flag enum types is done by name or by value.
> For flag enum types it states that member combination with the same value are equivalent.



--
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]