Community
Participate
Working Groups
(16-Jan I-build) After editing a 3.0.0 file, the Extension references change to <xmi:Extension extender="http://www.eclipse.org/uml2/4.0.0/UML"> for which CMOF202UMLHandler.processElement has no support. Need another || UMLPackage.eNS_URI.equals(extender) term.
Hmm, odd that I didn't encounter this while testing...
Actually, the code is already there: @Override protected void processElement(String name, String prefix, String localName) { String extender = attribs .getValue(EMOFExtendedMetaData.XMI_EXTENDER_ATTRIBUTE); if (EMOFExtendedMetaData.EXTENSION.equals(localName) && XMI2UMLResource.XMI_2_1_NS_URI.equals(helper.getURI(prefix)) && attribs != null && (UML212UMLResource.UML_METAMODEL_NS_URI.equals(extender) || UML302UMLResource.UML_METAMODEL_NS_URI .equals(extender)) || UMLPackage.eNS_URI.equals(extender)) { types.push(UML_EXTENSION_TYPE); } else { super.processElement(name, prefix, localName); } } Are you sure you used the latest build?
Doh, there was a typo. Fix committed and pushed. Another integration build will be published soon.
The integration build is now available.
(In reply to comment #2) > Are you sure you used the latest build? I think I used a CVS ergonomic and Synchronized, which didn't do a Fetch. I was still using the 8-Dec [366083] commit state in my Workspace after the latest I-build failed because of the typo. Might I suggest an isUMLMetamodelNSuri() helper for this growing list; UML 2.5 coming shortly. Also more readable and debuggable. Perhaps even an explicitly extendable list to facilitate UML developers and customizers.
I'll consider adding a convenience utility if/when we migrate to UML 2.5.