Source: Real-Time Innovations ( Gerardo Pardo-Castellote)
The first paragraph 126.96.36.199.1.10 (Default Literal for Enumeration) says:
Normally the default value for an object of a type is pre-defined based on the generic rules based on the characteristics of the type. For example, for an integer it would be the value zero and for an enumeration it is the literal with the lowest member ID.
This language is obsolete. In XTYPES 1.2 Enumerated types are not considered to have memberId. Only AggregatedTypes have memberIds.
Instead this paragraph should reference Table 9 (Table 9 – Default values for non-optional members). Which in the case of the enumeration says it is the first value in the enumeration.
In addition, Table 9 (Default values for non-optional members) on the row for Enumerations says the default is:
The first value in the enumeration.
This is a bit ambiguous. Most likely it should be interpreted as the first literal that appears in the enumeration. But the word "value" may be interpreted by some as meaning the "lowest value" of any literals in the enumeration. It shuld be reworded to avoid confusion.
Reported: DDS-XTypes 1.2 — Sat, 22 Sep 2018 00:03 GMT
Updated: Mon, 1 Apr 2019 17:40 GMT