ResourceSet should not be created inside ELang, but passed in from outside