Community
Participate
Working Groups
From the Sun RI documentation: Character Escaping Control Property name: com.sun.xml.bind.characterEscapeHandler Type: com.sun.xml.bind.marshaller.CharacterEscapeHandler Default value: null By default, the marshaller implementation of the JAXB RI tries to escape characters so they can be safely represented in the output encoding (by using Unicode numeric character references of the form &#dddd;) Unfortunately, due to various technical reasons, the default behavior may not meet your expectations. If you need to handle escaping more adroitly than the default manner, you can do so by doing the following: Write a class that implements the com.sun.xml.bind.marshaller.CharacterEscapeHandler interface. Create a new instance of it. Set that instance to the Marshaller by using this property.
Created attachment 210867 [details] Patch - test changes
Created attachment 210868 [details] Patch - code changes
Created attachment 210869 [details] Patch - test changes
Created attachment 210870 [details] Patch - code changes
Created attachment 210873 [details] Patch - test changes
Created attachment 211351 [details] Patch - code changes
Created attachment 211352 [details] Patch - test changes
Created attachment 211353 [details] Patch - code changes
Created attachment 211357 [details] Patch - test changes
Created attachment 211358 [details] Patch - code and test changes - 2.3
Created attachment 211366 [details] Patch - trunk
Created attachment 211367 [details] Patch - 2.3
Fixed and checked in to 2.3 and trunk.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink