XTCE 1.2 RTF Avatar
  1. OMG Issue

XTCE12 — Improve FloatRangeType and IntegerRangeType

  • Key: XTCE12-18
  • Legacy Issue Number: 19435
  • Status: closed  
  • Source: NASA ( Mr. James Kevin Rice)
  • Summary:

    IntegerRangeType and FloatRangeType define ranges with attributes. The integer version has two, min/max which are inclusive and the float has four which are both inclusive and exclusive. The float version is particularly “bad” because its four attributes can all be set, or some combination of them, forcing the implementer to quality check that just two are set.

    Another approach would be to provide two attributes: min/max for the value ­ and then a third attribute called “rangeType” or some such to indicate the kind of comparison to be performed: open, closed, open-closed, closed-open indicating whether the values are inclusive or exclusive – one, the other, or both.

  • Reported: XTCE 1.1 — Wed, 28 May 2014 04:00 GMT
  • Disposition: Duplicate or Merged — XTCE 1.2
  • Disposition Summary:

    This is duplicated from XTCE12-72 and resolved in XTCE12-329

    This issue is addressed to the extent that the @rangeForm attribute is now available to cover the inside/outside case. It was decided by the committee not to propose separating the inclusive/exclusive because it would more limit the possible capability for specifying values.

  • Updated: Tue, 10 Jul 2018 14:22 GMT