| Summary: | Infrastructure.xmi and other URI resolution problems | ||
|---|---|---|---|
| Product: | [Modeling] MDT.UML2 | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | Kenn Hussey <Kenn.Hussey> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.0.0 | ||
| Target Milestone: | M3 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
As per my comment on bug 359971, you shouldn't need to make many changes to the resources provided by the OMG in order to open them with UML2, once support for interchange has been completed (i.e., by this coming Monday). There are, unfortunately, some small changes that do need to be made. At a minimum, references to the standard primitive types are missing xmi:type information, so you'll need to search for all such references and insert xmi:type="uml:PrimitiveType". The other thing that needs to be done is all 'classifier' references need to be removed from enumeration literals. In UML 2.4, the InstanceSpecification::classifier property is redefined by EnumerationLiteral::classifier such that it is made derived; as a result, it is invalid to serialize such references (which are redundant anyway since literals are already nested under their containing enumerations). I reported the above two problems (related to missing xmi:type attributes and erroneous 'classifier' serializatons for enumeration literals), but have my doubts that they will be addressed any time soon. In the meantime, I've added code to work around the issues when deserializing UML resources based on official OMG XMI format. The fix is available in the latest UML2 4.0 integration build. |