commit | 436b004f0753f32bc45e4dfe972effc7149c085d | [log] [tgz] |
---|---|---|
author | jmoller <jmoller> | Sat Jan 19 00:25:31 2008 +0000 |
committer | jmoller <jmoller> | Sat Jan 19 00:25:31 2008 +0000 |
tree | b21025f5b719ac5600fa6c729b7aef8c4dc2e970 | |
parent | c295a1db327b089b856a4dd9981a933f876aedba [diff] |
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);