docs: protected Resource resolveResource(String href, String base) throws TransformerException {
          final Resource resolvedResource;
          if (base != null) {
              final Resource baseResource = this.resourceLoader.getResource(base);
  
              try {
                  resolvedResource = baseResource.createRelative(href);
              } catch (IOException e) {
                  throw new TransformerException(
                          "Failed to find '" + href + "' relative to: " + baseResource, e);
              }
  
              this.logger.debug(
                      "Created resource {} for href: {} and base: {}",
                      new Object[] {resolvedResource, href, baseResource});
          } else {
              resolvedResource = this.resourceLoader.getResource(href);
  
              this.logger.debug("Created resource {} for href: {}", resolvedResource, href);
          }
          return resolvedResource;
      }