How to handle special characters in XML using Java