KDM 1.2 RTF Avatar
  1. OMG Issue

KDM12 — invalid XML - ptc-08-02-10.xml KDM 1.1 CMOF XMI

  • Key: KDM12-13
  • Legacy Issue Number: 12420
  • Status: closed  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    The file is invalid XML, since for the 'type' attribute of Operations it omits spaces after the closing quote of the previous value.
    For example line 784 is:
    <ownedOperation xmi:id='OP.28195661' xmi:type='cmof:Operation' name='getInbound' lower='0' upper='*'type='C.6698801' />

    Proposed resolution
    Insert space before 'type=' in all Operation definitions. The above line becomes:
    <ownedOperation xmi:id='OP.28195661' xmi:type='cmof:Operation' name='getInbound' lower='0' upper='*' type='C.6698801' />

  • Reported: KDM 1.1 — Fri, 25 Apr 2008 04:00 GMT
  • Disposition: Resolved — KDM 1.2
  • Disposition Summary:

    In the kdm_1.1.cmof.xml correct the following 11 occurences of “ownedOperation” by
    inserting a space between “upper” clause and “type” clause. This is implemented as part
    of the automatic conversion from UML Rose diagrams into CMOF, so the unique ids of
    cmof elements may change.
    <ownedOperation xmi:id='OP.28195661' xmi:type='cmof:Operation'
    name='getInbound' lower='0' upper='*'type='C.6698801' />
    <ownedOperation xmi:id='OP.28796973' xmi:type='cmof:Operation'
    name='getOutbound' lower='0' upper='*'type='C.6698801' />
    <ownedOperation xmi:id='OP.1602470' xmi:type='cmof:Operation'
    name='getOwnedRelation' lower='0' upper='*'type='C.6698801' />
    <ownedOperation xmi:id='OP.22060939' xmi:type='cmof:Operation'
    name='getInAggregated' lower='0' upper='*'type='C.1688690' />
    <ownedOperation xmi:id='OP.1735173' xmi:type='cmof:Operation'
    name='getOutAggregated' lower='0' upper='*'type='C.1688690' />
    <ownedOperation xmi:id='OP.4259620' xmi:type='cmof:Operation'
    name='getOwner' lower='0' upper='1'type='C.19792917' /> <ownedOperation xmi:id='OP.19831230' xmi:type='cmof:Operation'
    name='getOwnedElement' lower='0' upper='*'type='C.19792917' />
    <ownedOperation xmi:id='OP.7316011' xmi:type='cmof:Operation'
    name='getGroup' lower='0' upper='*'type='C.19792917' />
    <ownedOperation xmi:id='OP.16772004' xmi:type='cmof:Operation'
    name='getGoupedElement' lower='0' upper='*'type='C.19792917' />
    <ownedOperation xmi:id='OP.29851750' xmi:type='cmof:Operation'
    name='getModel' lower='0' upper='1'type='C.31431715' />
    <ownedOperation xmi:id='OP.12504936' xmi:type='cmof:Operation'
    name='getTo' lower='1' upper='1'type='C.19792917' />
    <ownedOperation xmi:id='OP.19054722' xmi:type='cmof:Operation'
    name='getFrom' lower='1' upper='1'type='C.19792917' />

  • Updated: Fri, 6 Mar 2015 20:57 GMT