DDS-XTypes 1.3 RTF Avatar
  1. OMG Issue

DDSXTY13 — Union default values (Table 9)

  • Key: DDSXTY13-13
  • Status: open  
  • Source: OCI ( Adam Mitz)
  • Summary:

    In Table 9 " Default values for non-optional members".

    For type kind UNION_TYPE, the default value may require the discriminator to be set to the "lowest value associated with any member", however the "lowest" relation isn't defined for all possible discriminator types.
    Boolean: use false (based on Table 9)
    Byte: undefined (based on Table 3)
    Char<N>: undefined
    UInt<N>: well defined
    Int<N>: need to define/clarify for negative numbers
    Enum: treat as Int32 per Table 4

  • Reported: DDS-XTypes 1.2b1 — Thu, 14 Dec 2017 20:17 GMT
  • Updated: Mon, 1 Apr 2019 17:40 GMT