docs: public String resolveRelativePath(String source, String target) {
  
          String result = null;
          if (target.startsWith(".")) {
              if (target.startsWith("./")) {
                  target = target.substring(2);
              }
              while (target.startsWith("../")) {
                  source = CmsResource.getParentFolder(source);
                  target = target.substring(3);
              }
              result = CmsStringUtil.joinPaths(source, target);
          } else {
              result = target;
          }
          return result;
      }