docs: private String buildErrorChapterGlossary(final BuildData buildData, final String title) {
          final StringBuilder glossary = new StringBuilder("<glossary>");
  
          // Add the title of the glossary
          glossary.append("<title>");
          if (title != null) {
              glossary.append(title);
          }
          glossary.append("</title>");
  
          // Add generic error messages
  
          // No Content Warning
          glossary.append(
                  DocBookUtilities.wrapInGlossEntry(DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_EMPTY_TOPIC_XML + "\""),
                          DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_NO_CONTENT_TOPIC_DEFINITION)));
  
          // Invalid XML entity or element
          glossary.append(DocBookUtilities.wrapInGlossEntry(
                  DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.ERROR_INVALID_XML_CONTENT + "\""),
                  DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.ERROR_INVALID_XML_CONTENT_DEFINITION)));
  
          // No Content Error
          glossary.append(
                  DocBookUtilities.wrapInGlossEntry(DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.ERROR_BAD_XML_STRUCTURE + "\""),
                          DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.ERROR_BAD_XML_STRUCTURE_DEFINITION)));
  
          // Invalid Docbook XML Error
          glossary.append(
                  DocBookUtilities.wrapInGlossEntry(DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.ERROR_INVALID_TOPIC_XML + "\""),
                          DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.ERROR_INVALID_TOPIC_XML_DEFINITION)));
  
          // Invalid Injections Error
          glossary.append(
                  DocBookUtilities.wrapInGlossEntry(DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.ERROR_INVALID_INJECTIONS + "\""),
                          DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.ERROR_INVALID_INJECTIONS_DEFINITION)));
  
          // Possible Invalid Injections Warning
          glossary.append(DocBookUtilities.wrapInGlossEntry(
                  DocBookUtilities.wrapInGlossTerm("\"... " + BuilderConstants.WARNING_POSSIBLE_INVALID_INJECTIONS + "\""),
                  DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_POSSIBLE_INVALID_INJECTIONS_DEFINITION)));
  
          // Add the glossary terms and definitions
          if (buildData.isTranslationBuild()) {
              // Incomplete translation warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_INCOMPLETE_TRANSLATION + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_INCOMPLETE_TRANSLATED_TOPIC_DEFINITION)));
  
              // Fuzzy translation warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_FUZZY_TRANSLATION + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_FUZZY_TRANSLATED_TOPIC_DEFINITION)));
  
              // Untranslated Content warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_UNTRANSLATED_TOPIC + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_UNTRANSLATED_TOPIC_DEFINITION)));
  
              // Non Pushed Translation Content warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_NONPUSHED_TOPIC + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_NONPUSHED_TOPIC_DEFINITION)));
  
              // Old Translation Content warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_OLD_TRANSLATED_TOPIC + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_OLD_TRANSLATED_TOPIC_DEFINITION)));
  
              // Old Untranslated Content warning
              glossary.append(DocBookUtilities.wrapInGlossEntry(
                      DocBookUtilities.wrapInGlossTerm("\"" + BuilderConstants.WARNING_OLD_UNTRANSLATED_TOPIC + "\""),
                      DocBookUtilities.wrapInItemizedGlossDef(null, BuilderConstants.WARNING_OLD_UNTRANSLATED_TOPIC_DEFINITION)));
          }
  
          glossary.append("</glossary>");
  
          return glossary.toString();
      }