code: private static String removeCorruptCharacters(final String input) {
  		if (Util.empty(input)) {
  			return input;
  		}
  		return ESCAPE_BAD_XML10.translate(input);
  	}
docs: Remove bad characters in XML.
  
  @param input The String to escape.
  @return the clean string