-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: ABNF, ATOM Format, CSDL XML, JSON Format, Protocol
-
Labels:None
-
Environment:
[Proposed]
-
Proposal:
-
Resolution:
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.