This commit is contained in:
Dmitry Avdeev
2010-11-23 16:37:35 +03:00
parent 22c9f17491
commit 3c2d149ed8
@@ -1282,7 +1282,7 @@ public class XmlUtil {
final char ch = unquotedValue.charAt(i);
if (!Character.isJavaIdentifierPart(ch) && ch != ':' && ch != '-') {
final XmlFile file = PsiTreeUtil.getParentOfType(context, XmlFile.class);
if (file != null) return !tagFromTemplateFramework(file.getDocument().getRootTag());
if (file != null) return !tagFromTemplateFramework(file.getRootTag());
return false;
}
}