factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.ecore"));
result.put("ecore", factory instanceof EcoreResourceFactoryImpl ? factory : new EcoreResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.emof"));
result.put("emof", factory instanceof EMOFResourceFactoryImpl ? factory : new EMOFResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.xsd"));
result.put("xsd", factory instanceof XSDResourceFactoryImpl ? factory : new XSDResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.wsdl"));