1
Suggestions and Requests / Re: XMI Bug
« on: July 02, 2004, 07:13:24 am »
Right. It's not a bug; It's a feature 
But seriously, the existence of a ModelElement.taggedValue element implies that ModelElement instances have references to TaggedValue instances, which, according to UML 1.3 is not the case. Instead, TaggedValue elements should appear as children of XMI.content and they should have an attribute called 'modelElement' that has the value of the xmi.id attribute of the ModelElement element to which the the TaggedValue applies.
The whole reason I raise this is that I'm having trouble reading EA's XMI with the XMI from NetBeans MDR, which follows the UML spec quite closely.

But seriously, the existence of a ModelElement.taggedValue element implies that ModelElement instances have references to TaggedValue instances, which, according to UML 1.3 is not the case. Instead, TaggedValue elements should appear as children of XMI.content and they should have an attribute called 'modelElement' that has the value of the xmi.id attribute of the ModelElement element to which the the TaggedValue applies.
The whole reason I raise this is that I'm having trouble reading EA's XMI with the XMI from NetBeans MDR, which follows the UML spec quite closely.