[Uml-devel] [Bug 56184] Umbrello XMI file format doesn't conform with uml13.dtd
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Oct 29 14:13:17 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=56184
------- Additional Comments From okellogg users sourceforge net 2004-10-29 23:12 -------
>From Ivan Porres (developer of Coral, http://sourceforge.net/projects/coral)
<quote>
The main problem with the generated XMI is that it does not add the names of
the properties in compositions. For example:
Umbrello generates:
<UML:Model>
<UML:Stereotype visibility="public" xmi.id="13" name="actor" />
<UML:Stereotype visibility="public" xmi.id="15" name="class" />
<UML:Stereotype visibility="public" xmi.id="17" name="datatype" />
<UML:DataType stereotype="17" visibility="public" xmi.id="16" name="void" />
<UML:Class visibility="public" xmi.id="6" name="UMLListView" >
...
When it should generate:
<UML:Model>
<UML:ModelElement.stereotype>
<UML:Stereotype visibility="public" xmi.id="13" name="actor" />
<UML:Stereotype visibility="public" xmi.id="15" name="class" />
<UML:Stereotype visibility="public" xmi.id="17" name="datatype" />
</UML:ModelElement.stereotype>
<UML:Namespace.ownedElement>
<UML:DataType stereotype="17" visibility="public" xmi.id="16" name="void" />
<UML:Class visibility="public" xmi.id="6" name="UMLListView" >
<UML:Classifier.feature>
<UML:Operation visibility="public" xmi.id="77" type="16" name="contentsMousePressEvent" />
<UML:Operation visibility="public" xmi.id="80" type="16" name="popupMenuSel" />
<UML:Operation visibility="public" xmi.id="32" type="16"
name="addNewItem" />
<UML:Operation visibility="public" xmi.id="53" type="16"
name="slotItemRenamed" />
<UML:Operation visibility="public" xmi.id="56" type="16"
name="createChildUMLObject" />
</UML:Classifier.feature>
Also, Umbrello does not conform to the UML 1.3 standard. IIRC, A UML 1.3
Operation does not have a property called type. Check the standard. Is this
the return type of the operation? This is modeled by creating a Parameter
with direction "return" and the desired type.
</quote>
Implemented these suggestions and updated the sample file
http://uml.sourceforge.net/developers/CreateOperationUsingRightMousebuttonInListView.xmi
More information about the umbrello-devel
mailing list