You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
when calling
marshaller.setProperty(CharacterEscapeHandler.class.getName(), new
CustomCharactertEscapeHandler());
this handler will be ignored during marshalling when
marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); will be used.
I checked the source-code of MarshallerImpl and the XMLWriter created internally for UTF-Encoding
simply ignores users CharacterEscapeHandler.
by running the chracter-escape-sample from the binary-download you can verify this behavior, when
you change the encoding from US-ASCII to UTF-8.
tim
Environment
Operating System: Mac OS X
Platform: Macintosh
Affected Versions
[2.1.9]