GEMS 1.4 RTF Avatar
  1. OMG Issue

GEMS14 — Arrays defined ambiguously for ASCII PSM

  • Key: GEMS14-13
  • Legacy Issue Number: 19620
  • Status: closed  
  • Source: RT Logic ( Nathaniel Colson)
  • Summary:

    Representation of arrays in the ASCII PSM is ambiguous. In 8.2.1 it says that arrays look like this:

    parameter_name[3]:type=value1,value2,value3

    The multiplicity is appended to the parameter name, there is a single type, and the values are comma separated. But in 8.2.1.2, it says arrays look like this:

    param:int[3]:int=1,int=2,int=3

    There are two colons, the multiplicity is appended to the type, and the type is repeated for each value within the comma separated list. Presumably there is a goal of unifying the way arrays and parameter sets are represented, where an array of scalars is just a homogeneous parameter set. Suggest we abandon this goal, as it will make representation of arrays of parameter sets very difficult. Suggest we represent arrays as follows:

    name:type[multiplicity]=val1,val2,val3

  • Reported: GEMS 1.3 — Wed, 24 Sep 2014 04:00 GMT
  • Disposition: Duplicate or Merged — GEMS 1.4
  • Disposition Summary:

    Arrays defined ambiguously for ASCII PSM

    This issue is basically a duplicate of GEMS14-40 and GEMS14-16. It highlights the error in array syntax and the need for a clarification on the parameter set delimiter.

  • Updated: Tue, 29 Mar 2016 15:08 GMT