XTCE 1.2 RTF Avatar
  1. OMG Issue

XTCE12 — Change UnitSet to simple String; change name

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

    Description Kevin Rice 2007-10-22 21:46:32 BST
    UnitSet should just be a simple string, rename it to "Unit" and add the
    attributes 'name' and 'description'. However the element should have content
    like:

    <Unit name="metersPerSecond" description="meters per second">m/s</Unit>
    Comment 1 Kevin Rice 2008-03-04 22:29:39 GMT
    Unit is actually a type "Any" which is clearly not what was intended either...
    Comment 2 Kevin Rice 2008-04-18 14:54:47 BST
    Unit is not a Type ANY – its set to MIXED but has not child elements. In
    XMLSpy '08 in grid mode it seems to initially accept mixed concept. However
    going to text will fail – not validate.

    The out of the box Java parser does not validate it either if there is mixed
    content.

    Suggest setting the mixed content attribute to FALSE to be – well absolutely
    correct.

  • Reported: XTCE 1.1 — Thu, 17 Sep 2009 04:00 GMT
  • Disposition: Closed; No Change — XTCE 1.2
  • Disposition Summary:

    Propose not to change UnitSet contents

    We have made UnitSet an optional element in another issue. This change does not seem to add enough value to introduce a non-backwards compatible update that is largely cosmetic.

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