XTCE 1.2 RTF Avatar
  1. OMG Issue

XTCE12 — No short description or long description at the Member element of AggregateParameterType or AggregateArgumentType

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

    There's no short description or long description at the Member element of AggregateParameterType or AggregateArgumentType

    Possible answers:

    1) Use the short/long descriptions of the referred to types. Alternatively we'd have to re-construct the schema type add descriptive info

  • Reported: XTCE 1.1 — Mon, 11 Jun 2012 04:00 GMT
  • Disposition: Resolved — XTCE 1.2
  • Disposition Summary:

    Have Member element extend NameDescriptionType similar to Parameter and Argument

    It makes sense to have the Member element be more like it's brethren, the Parameter and Argument elements. By having it inherit from NameDescriptionType, it will solve this issue and make it more generically consistent with the others.

    Modify the xsd to reflect this new content for the MemberType complexType:

    <complexType name="MemberType">
    <annotation>
    <documentation>Describe a member field in an AggregateDataType. Each member has a name and a type reference to a data type for the aggregate member name. If this aggregate is a Parameter aggregate, then the typeRef is a parameter type reference. If this aggregate is an Argument aggregate, then the typeRef is an argument type reference. References to an array data type is currently not supported. Circular references are not allowed. See MemberListType. AggregateParameterType and AggregateArgumentType.</documentation>
    </annotation>
    <complexContent>
    <extension base="xtce:NameDescriptionType">
    <attribute name="typeRef" type="xtce:NameReferenceType" use="required"/>
    </extension>
    </complexContent>
    </complexType>

    Note that this takes into account the already worked update to the description/annotation of this type.

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