- Code: Select all
<ownedAttribute xmi:type="uml:Property" name="charset" xmi:id="BOUML_0x22002_1" visibility="public">
<type xmi:type="uml:Class" xmi:idref="BOUML_0x20f02_4"/>
<lowerValue xmi:type="uml:LiteralString" xmi:id="BOUML_MULTIPLICITY_L_0x22002_1" value="0"/>
<upperValue xmi:type="uml:LiteralString" xmi:id="BOUML_MULTIPLICITY_U_0x22002_1" value="1"/>
<ownedRule xmi:type="uml:Constraint" xmi:id="BOUML_CONSTRAINT_0x22002_1" constrainedElement="BOUML_0x22002_1">
<specification xmi:type="uml:OpaqueExpression" xmi:id="BOUML_CSPEC_0x22002_1">
<body>coded by openEHR codeset "character sets"</body>
<ownedComment xmi:type="uml:Comment" xmi:id="COMMENT_232" body="Name of character encoding scheme in which this value is encoded. Coded from openEHR Code Set character sets . Unicode is the default assumption in openEHR, with UTF-8 being the assumed encoding. This attribute allows for variations from these assumptions. "/>
This problem isn't causing an immediate problem, because the MagicDraw importer is smart enough to get past the error (it just rejects the ownedRules), but I guess it would be good to fix in the long run.
Other than this one error, the BOUML XMI for my model, with about 150 classes imports fine into MagicDraw, and in fact they have an error in their own XMI importer that they need to fix.