@Override
  @NotNull
  public ContextProvider getContextProvider(XPathFile file) {
    final XmlElement xmlElement = (XmlElement)file.getContext();
    assert xmlElement != null;
    return create(xmlElement);
  }
@Override
  @NotNull
  public ContextProvider getContextProvider(XPathFile file)