@Override
  public @NotNull String getUnresolvedMessagePattern() {
    return XmlPsiBundle.message(myIncorrectResourceMapped ? "xml.inspections.registered.resource.is.not.recognized"
                                                          : "xml.inspections.uri.is.not.registered");
  }
@Override
  public @NotNull String getUnresolvedMessagePattern()