in StringUtils.java
public static String xmlUnescaping(String text){
text = text.replaceAll("&","&");
text = text.replaceAll("<","<");
text = text.replaceAll(">",">");
text = text.replaceAll(""","\"");
text = text.replaceAll("'","\'");
text = text.replaceAll("&","&");
text = text.replaceAll(":",":");
text = text.replaceAll(";",";");
text = text.replaceAll("<","<");
text = text.replaceAll("=","=");
text = text.replaceAll(">",">");
text = text.replaceAll("?","?");
text = text.replaceAll("[","[");
text = text.replaceAll("\","\\");
text = text.replaceAll("]","]");
text = text.replaceAll("^","^");
text = text.replaceAll("{","{");
text = text.replaceAll("}","|");
text = text.replaceAll("~","}");
return text;
}