diff --git a/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/impl/XsltChecker.java b/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/impl/XsltChecker.java index 39b5d9bf3c43..648bbb80d9a4 100644 --- a/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/impl/XsltChecker.java +++ b/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/impl/XsltChecker.java @@ -57,7 +57,7 @@ public class XsltChecker extends NanoXmlUtil.IXMLBuilderAdapter { stop(); } } else if (myState == State.POSSIBLY_SIMPLIFIED_SYNTAX) { - if ("version".equals(key) && nsURI.equals(XsltSupport.XSLT_NS)) { + if ("version".equals(key) && XsltSupport.XSLT_NS.equals(nsURI)) { checkVersion(value, State.SIMPLIFIED); stop(); }