DEPL 1.0 MAILINGLIST Avatar
  1. OMG Issue

DEPL — Any mapping in XML is too verbose

  • Key: DEPL-22
  • Legacy Issue Number: 6024
  • Status: open  
  • Source: Zuehlke Engineering ( Frank Pilhofer)
  • Summary:

    The current mapping for the Any type in the PSM for CCM for XML
    (section 9.5.4, page 117 in ptc/03-07-08) is very verbose, for
    example an execution parameter property looks like

    <execParameter>
    <name>entrypoint</name>
    <value>
    <type>
    <simple>
    <type>string</type>
    </simple>
    </type>
    <value>
    <value>
    <value>main</value>
    </value>
    </value>
    </value>
    </execParameter>

    While not quite "broken," the mapping could be simplified - and
    made less intimidating to those who prefer looking at XML code in
    a text editor - by not separating the DataType from the DataValue,
    but by combining them. An updated UML diagram for a better mapping
    of the Any type is attached - it would eliminate the DataValue
    type. By including an "Opaque" element of "base64Binary" type,
    this mapping includes a potential resolution for 5993.

    According to this updated mapping, the execution parameter above
    would look like

    <execParameter>
    <name>entrypoint</name>
    <value>
    <simple>
    <type>string</type>
    <value>main</value>
    </simple>
    </value>
    </execParameter>

  • Reported: DEPL 1.0b1 — Mon, 28 Jul 2003 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:58 GMT