EA-95858 - IAE: XsltSupport.isXsltTag

This commit is contained in:
Dmitry Avdeev
2017-03-14 15:11:09 +03:00
parent e8aeb6b502
commit e65e8ba048
@@ -108,7 +108,8 @@ public class XsltSupport {
}
public static boolean isXsltAttribute(@NotNull XmlAttribute attribute) {
return isXsltTag(attribute.getParent());
XmlTag parent = attribute.getParent();
return parent != null && isXsltTag(parent);
}
public static boolean isXsltTag(@NotNull XmlTag tag) {