[8u-dev] RFR (JAXWS): 8172297: In java 8, the marshalling with JAX-WS does not escape carriage return
roman.grigoriadi at oracle.com
Fri Jun 9 15:20:30 UTC 2017
Looks good to me.
Just a side note that escape handler can be overridden by "setting com.sun.xml.bind.characterEscapeHandler" or “com.sun.xml.bind.marshaller.CharacterEscapeHandler" properties on Marshaller. This is respected by XMLStreamWriterOutput escape handling.
> On 9 Jun 2017, at 16:10, Aleks Efimov <aleksej.efimov at oracle.com> wrote:
> Please, help to review the fix that helps JAXWS marshaller to properly escape new-line and carriage return symbols in webservice string parameters:
> The source part of this fix is a partial backport of JAXWS-RI sync changes that addressed this issue in jaxb-ri project .
> The sync changes are currently under review here:
> New regression test was added for this issue and it is passing with other JAXWS regression and JCK8 related tests.
> With Best Regards,
>  JAXB-RI related commits:
More information about the core-libs-dev