@Override
    public boolean isAcceptable(Object element, PsiElement context) {
      final PsiElement parent = context.getParent();
      if (parent instanceof XmlAttribute attribute) {
        return attribute.isNamespaceDeclaration();
      }
      return false;
    }
@Override
    public boolean isAcceptable(Object element, PsiElement context)