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] Updated: (ODATA-96) Need to define semantics, serialization format, etc. for Enums

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

Ralf Handl updated ODATA-96:



> Need to define semantics, serialization format, etc. for Enums
> --------------------------------------------------------------
>                 Key: ODATA-96
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-96
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData ABNF Construction Rules v1.0, OData ATOM Format v1.0, OData CSDL v1.0, OData JSON Format v1.0, OData Protocol v1.0
>    Affects Versions: WD01
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>            Assignee: Michael Pizzo
>             Fix For: WD01
> Enums are allowed in an entity model, but their semantics are not defined. We need to define semantics and serialization for each format. For example:
> -Are they serialized as their underlying type or the enumeration value name (I would propose the later). 
> -How are enumeration values specified in expressions (I propose as name rather than underlying value)
> -How are flags expressed for enumeration values? (I propose defining the use of the pipe (|) character for this purpose in the ABNF)
> -Can multiple enumeration values have the same underlying value (i.e., as aliases) (I propose yes).
> -Can the underlying type be a non-integral type (I don't see the need if the URL syntax and serialization formats uses the enumeration value name)
> We need a single proposal that defines all the additional text required to fully support enumerations.

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]