This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm trying to use the Enterprise Architect v4.51 to generate metamodel UML XMI 1.2 files and then convert it to MOF XMI using NetBeans MDR uml2mof tool. I'm having some problems I think related to TaggedValues compatibility. The EA UML XMI 1.2 exported file has the TagDefinition element under the Model element and associates the TaggedValues values under a UML:Collaboration tag. After looking the MDR documented example I found that the UML2MOF expects the TagDefinition in the document root and TaggedValue values under the owner element. Is it right?
This is a problem in EA serialization. See the following thread for more info: http://mdr.netbeans.org/servlets/ReadMsg?list=users&msgNo=2196
The http://mdr.netbeans.org/servlets/ReadMsg?list=users&msgNo=2196 issue says that all TaggedValues should be removed from the XMI file. But I saw that some MDR specific TaggedValues were added to the Projects.xml example file (ex: javax.jmi.packagePrefix = org.netbeans.jmi). Isn't the javax.jmi.packagePrefix TaggedValue necessary?
Please use users@mdr.netbeans.org for discussion instead of reopening this issue. Tagged values are useful. So, there might be situations when you need them. Unfortunatelly, EA is unable to serialize them correctly. The correct serialization is the one you see in the projects.xml file. Moreover, EA seems to use older version of UML - UML 1.3. UML2MOF tool was designed to work with UML 1.4. So most likely, the EA XMI files would not work with it anyway. BTW: As you can see from the mentioned thread, Pete had an XSLT document that can fix your XMI. You may want to try to contact him to get that stylesheet and try it out...