XTCE 1.2 RTF Avatar
  1. OMG Issue

XTCE12 — Add ranges to enumeration list

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

    Add option to map a range of value to a label, instead of just one value as is current in XTCE. Reported by Kratos/ISI.

  • Reported: XTCE 1.1 — Wed, 30 Apr 2014 04:00 GMT
  • Disposition: Resolved — XTCE 1.2
  • Disposition Summary:

    Allow for a maxValue attribute in the ValueEnumerationType

    In order to accommodate a range of values in the Enumeration element of EnumerationList, a new @maxValue attribute is proposed and would have inclusive behavior.

    The schema is to be modified for the ValueEnumerationType as shown below with the additional attribute and the annotation:

    <complexType name="ValueEnumerationType">
    <annotation>
    <documentation>Describe a value and an associated string label, see EnumerationListType.</documentation>
    </annotation>
    <attribute name="value" type="integer" use="required"/>
    <attribute name="maxValue" type="integer">
    <annotation>
    <documentation>If max value is given, the label maps to a range where value is less than or equal to maxValue. The range is inclusive.</documentation>
    </annotation>
    </attribute>
    <attribute name="label" type="string" use="required"/>
    <attribute name="shortDescription" type="xtce:ShortDescriptionType"/>
    </complexType>

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