| Summary: | Cannot open UML XMI resource by content description in standalone mode | ||
|---|---|---|---|
| Product: | [Modeling] MDT.UML2 | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | UML2 Inbox <mdt-uml2-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
As far as I'm aware, a "non-global" URIConverter _does_ delegate to the global URI map, per the following code in ExtensibleURIConverterImpl:
protected URIMap getInternalURIMap()
{
if (uriMap == null)
{
URIMappingRegistryImpl mappingRegistryImpl =
new URIMappingRegistryImpl()
{
private static final long serialVersionUID = 1L;
@Override
protected URI delegatedGetURI(URI uri)
{
return URIMappingRegistryImpl.INSTANCE.getURI(uri);
}
};
uriMap = (URIMap)mappingRegistryImpl.map();
}
return uriMap;
}
Is this not happening for you? Are you sure you've registered the proper mapping in the global URI map?
(In reply to comment #1) > As far as I'm aware, a "non-global" URIConverter _does_ delegate to the global > URI map, per the following code in ExtensibleURIConverterImpl: > > Is this not happening for you? Are you sure you've registered the proper > mapping in the global URI map? It depends on which global URI Map you populate: Bug 365515. So solution a) is available. I guess there's nothing to "fix" in UML2, then. |