Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mmt-dev] EmfUtil: content-type computation

Gentlemen,

I do have a problem with a custom ResourceFactory implementation that I registered as content-parser and is not found for resource creation on an QVTo output model. Details are given here: http://www.eclipse.org/forums/index.php/t/362084/

I wonder whether org.eclipse.m2m.internal.qvt.oml.emf.util.EmfUtil.createResource(uri,outResourceSet) is up to date with the current EMF ResourceSetImpl implementation.

I think the additional usage of the extension-to-factory map is handled by ResourceSetImpl already and think that the whole method could be inline replaced by

outResourceSet.createResource(uri,UNSPECIFIED_CONTENT_TYPE);

Did I overlook something?

Best Regards

Uwe


-- 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Uwe Ritzmann              Uwe.Ritzmann@xxxxxx

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Back to the top