docs: private String findBaseURI(final Element root) throws MalformedURLException {
          String ret = null;
          if (findAtomLink(root, "self") != null) {
              ret = findAtomLink(root, "self");
              if (".".equals(ret) || "./".equals(ret)) {
                  ret = "";
              }
              if (ret.indexOf("/") != -1) {
                  ret = ret.substring(0, ret.lastIndexOf("/"));
              }
              ret = resolveURI(null, root, ret);
          }
          return ret;
      }