mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-72283 - NPE: XmlLanguageInjector.isInIndex
This commit is contained in:
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user