XTCE 1.2 RTF Avatar
  1. OMG Issue

XTCE12 — initialValue attribute only exists for a ParameterType or ArgumentType

  • Key: XTCE12-5
  • Legacy Issue Number: 7981
  • Status: closed  
  • Source: Braxton Technologies, LLC ( Gerry Simon)
  • Summary:

    . In version 1.11 of the schema there was an initialValue attribute for a
    Parameter in the ParameterSet but this was removed in 1.12. Now the
    initialValue attribute only exists for a ParameterType or ArgumentType. I
    think it would make more sense if the initialValue was a Parameter attribute
    and not a ParameterType attribute since there could be multiple instances of
    the same ParameterType. Right now each of these instances would have the
    same initialValue but I think what you really want is for each instance to
    be able to define its own intialValue if it has one. Right now if you have
    a Type but you want to have different initalValues for it you have to create
    multiple Types and I think this makes more work than is really necessary.

    Noted. I think this is going to be an ongoing debate amoung XTCE
    enthusiasts. Right now the Parameter in ParameterSet is very simple; it is
    not 'type' aware. One of the problems we'd have in giving it an initial
    value is that we couldn't type check it by the XML validator. Because
    ParameterType in ParameterTypeSet knows it's type it can type check (i.e.,
    the initialValue for an IntegerParameterType will only accept an integer,
    the initialValue for a StringParameterType accepts a string ...).

  • Reported: XTCE 1.0b1 — Wed, 15 Dec 2004 05:00 GMT
  • Disposition: Closed; No Change — XTCE 1.2
  • Disposition Summary:

    This is a legacy issue during XTCE 1.0 modifications for XTCE 1.1

    This issue appears to have been addressed per the request of the submitter during XTCE 1.1 development and as such is not in scope for XTCE 1.2. This probably is here because of the issues database being brought forward.

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