docs: @SuppressWarnings("unchecked")
      public static List<Difference> getDifferences(String controlDom,
                                                    String testDom, final List<String> ignoreAttributes) {
          try {
              Diff d = new Diff(DomUtils.asDocument(controlDom),
                      DomUtils.asDocument(testDom));
              DetailedDiff dd = new DetailedDiff(d);
              dd.overrideDifferenceListener(new DomDifferenceListener(
                      ignoreAttributes));
  
              return dd.getAllDifferences();
          } catch (IOException e) {
              LOGGER.error("Error with getDifferences: " + e.getMessage(), e);
          }
          return null;
      }