docs: private void handleHref(final String classValue, final AttributesImpl atts) {
          final URI attValue = toURI(atts.getValue(ATTRIBUTE_NAME_HREF));
          if (attValue != null) {
              final String scopeValue = atts.getValue(ATTRIBUTE_NAME_SCOPE);
              if ((scopeValue == null || ATTR_SCOPE_VALUE_LOCAL.equals(scopeValue))
                      && attValue.getScheme() == null) {
                  final String formatValue = atts.getValue(ATTRIBUTE_NAME_FORMAT);
                  // The scope for @href is local
                  if ((TOPIC_XREF.matches(classValue) || TOPIC_LINK.matches(classValue) || TOPIC_LQ.matches(classValue)
                  // term, keyword, cite, ph, and dt are resolved as keyref can make them links
                          || TOPIC_TERM.matches(classValue) || TOPIC_KEYWORD.matches(classValue)
                          || TOPIC_CITE.matches(classValue) || TOPIC_PH.matches(classValue)
                          || TOPIC_DT.matches(classValue))
                          && (formatValue == null || ATTR_FORMAT_VALUE_DITA.equals(formatValue))) {
                      // local xref or link that refers to dita file
                      XMLUtils.addOrSetAttribute(atts, ATTRIBUTE_NAME_HREF, handleLocalDita(attValue, atts).toString());
                  } else {
                      // local @href other than local xref and link that refers to
                      // dita file
                      XMLUtils.addOrSetAttribute(atts, ATTRIBUTE_NAME_HREF, handleLocalHref(attValue).toString());
                  }
              }
          }
      }