I am using JAXB to convert Java object to XML. I need to escape the apostrophe (') character into ' in the output XML. JAXB by default does not escape the apostrophe character. I learned about implementing a custom escape handler by implementing CharacterEscapeHandler. However, I realized this class is not included in Java 1.7. Where can I get the latest library containing thus class? Will the classes in this downloaded JAXB library conflict with the JAXB classes in Java 1.7?
Thanks in advance.
No comments:
Post a Comment