Fix for XMLUtil.escape() which was causing errors in ACalc.