static boolean notRemoteBase(PsiReference reference) {
    final PsiFile file = reference.getElement().getContainingFile();
    final String basePath = file instanceof XmlFile ? HtmlUtil.getHrefBase((XmlFile)file) : null;
    return basePath == null || !HtmlUtil.hasHtmlPrefix(basePath);
  }
static boolean notRemoteBase(PsiReference reference)