docs: @SuppressWarnings("static-method")
  	public Xpp3Dom toXpp3Dom(String content, Log logger) {
  		if (content != null && !content.isEmpty()) {
  			try (StringReader sr = new StringReader(content)) {
  				return Xpp3DomBuilder.build(sr);
  			} catch (Exception exception) {
  				if (logger != null) {
  					logger.debug(exception);
  				}
  			}
  		}
  		return null;
  	}