Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 401119

Summary: Provide a UML 2.5 Beta examples plugin
Product: [Modeling] MDT.UML2 Reporter: Ed Willink <ed>
Component: CoreAssignee: UML2 Inbox <mdt-uml2-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 401118    
Bug Blocks:    
Attachments:
Description Flags
Work in Progress Example
none
Standalone support for UML 2.5 using UML 2.4.1 none

Description Ed Willink CLA 2013-02-18 14:23:28 EST
Created attachment 227213 [details]
Work in Progress Example

Providing a UML 2.5 Beta examples plugin will serve two purposes

a) making UML 2.5 Beta models available

b) demonstrating how an unsupported namespace may be added, exploiting the latest supported UML as the best approximation to something unknown.

[It will always be desirable for UML developers to be able to use one version ahead of the Eclipse release.]

Usage of UML 2.5 Beta has checkintocvs permission for MDT/OCL under https://dev.eclipse.org/ipzilla/show_bug.cgi?id=6850

Attempting to create this example highlights some limitations in the content tyope registrations: Bug 401118
Comment 1 Kenn Hussey CLA 2013-02-18 19:52:22 EST
I don't see how such examples are of general interest to UML2 consumers, especially without first class support for (de)serializing them. Note that native support for UML 2.5 is tentatively planned for the Kepler + 1 (Luna?) release of UML2...
Comment 2 Ed Willink CLA 2013-08-13 10:00:36 EDT
The "Importing/Opening xmi file from OMG" thread of 9 Aug 2013 on the UML newsgroup is typical of a user trying to use recent OMG specifications and running into big trouble because there is no way that I know of to define the relevant namespaces.

How do I/we help these guys?
Comment 3 Kenn Hussey CLA 2013-08-13 13:00:36 EDT
The newsgroup post didn't have anything to do with namespaces from a newer specification; instead, it had to do with malformed XMI (I replied in the forum to that effect).
Comment 4 Ed Willink CLA 2013-08-14 04:51:44 EDT
Thanks. Simple 'fix'. I thought we needed to define new namespaces.
Comment 5 Ed Willink CLA 2013-09-26 22:44:10 EDT
Created attachment 235874 [details]
Standalone support for UML 2.5 using UML 2.4.1

The attached file may be used to install UML 2.5 support for standalone usage of UML 2.4.1.

Note that in XMI252UMLExtendedMetaData.getPackage()

	else if ("http://www.omg.org/spec/MOF/20131001".equals(namespace)) {
		return demandPackage(namespace);
	}
	else if ("http://www.omg.org/spec/XMI/20131001".equals(namespace)) {
		return demandPackage(namespace);
	}

suppresses redundant Internet pings; this should be in the standard UMLExtendedMetaData too.