EA-72283 - NPE: XmlLanguageInjector.isInIndex

This commit is contained in:
Dmitry Avdeev
2015-09-09 12:37:41 +03:00
parent 59c2c00e8b
commit 349340e085
@@ -212,6 +212,7 @@ public final class XmlLanguageInjector implements MultiHostInjector {
if (areThereInjectionsWithText(attribute.getValue(), index)) return true;
//if (areThereInjectionsWithText(attribute.getNamespace(), index)) return false;
tag = attribute.getParent();
if (tag == null) return false;
}
else if (xmlElement instanceof XmlTag) {
tag = (XmlTag)xmlElement;