RESOLVED - bug 215128: [xslt][editor] Allow for selective loading of XSLT 1.0 or XSLT 2.0 grammar.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215128

Fixed a null-pointer corner case which gave errors in the log.
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java
index cb8a4d1..61c7a73 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java
@@ -57,7 +57,8 @@
 
 		String version = null;
 		
-		version = peekVersionAttributeFromSSE(file);
+		if (file != null) 
+			version = peekVersionAttributeFromSSE(file);
 		if (version == null)
 			version = peekVersionFromFile(file, baseLocation);