boolean (final @NotNull String unquotedValue, final PsiElement context) { for (int i = 0; i < unquotedValue.length(); ++i) { final char ch = unquotedValue.charAt(i); if (!Character.isJavaIdentifierPart(ch) && ch != ':' && ch != '-') { final XmlFile file = PsiTreeUtil.getParentOfType(context, XmlFile.class); if (file != null) { XmlTag tag = file.getRootTag(); return tag != null && !tagFromTemplateFramework(tag); } } } return true; }