docs: private AttributesImpl processFormatDitamap(final Attributes atts, final AttributesImpl modified) {
          if (job == null) {
              return modified;
          }
          AttributesImpl res = modified;
          final String cls = atts.getValue(ATTRIBUTE_NAME_CLASS);
          if (MAP_TOPICREF.matches(cls)) {
              final String format = atts.getValue(ATTRIBUTE_NAME_FORMAT);
              final String scope = atts.getValue(ATTRIBUTE_NAME_SCOPE);
              final URI href = toURI(atts.getValue(ATTRIBUTE_NAME_HREF));
              if (format == null && (scope == null || scope.equals(ATTR_SCOPE_VALUE_LOCAL)) && href != null) {
                  final URI target = currentFile.resolve(href);
                  final Job.FileInfo fi = job.getFileInfo(target);
                  if (fi != null && ATTR_FORMAT_VALUE_DITAMAP.equals(fi.format)) {
                      switch (processingMode) {
                          case STRICT:
                              throw new RuntimeException(MessageUtils.getMessage("DOTJ061E").setLocation(locator).toString());
                          case SKIP:
                                  logger.error(MessageUtils.getMessage("DOTJ061E").setLocation(locator).toString());
                              break;
                          case LAX:
                                  logger.error(MessageUtils.getMessage("DOTJ061E").setLocation(locator).toString());
                              if (res == null) {
                                  res = new AttributesImpl(atts);
                              }
                              addOrSetAttribute(res, ATTRIBUTE_NAME_FORMAT, fi.format);
                              break;
                      }
                  }
              }
          }
          return res;
      }