[364419] Registering .uml extension parser.
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/util/UMLUtil.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/util/UMLUtil.java
index e95cc0b..df22fbc 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/util/UMLUtil.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/util/UMLUtil.java
@@ -10316,6 +10316,12 @@
 	 * @since 4.0
 	 */
 	public static ResourceSet init(ResourceSet resourceSet) {
+		(resourceSet == null
+			? Resource.Factory.Registry.INSTANCE
+			: resourceSet.getResourceFactoryRegistry())
+			.getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION,
+				UMLResource.Factory.INSTANCE);
+		
 		Map<String, Object> contentTypeToFactoryMap = (resourceSet == null
 			? Resource.Factory.Registry.INSTANCE
 			: resourceSet.getResourceFactoryRegistry())