Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to customize Jaxb Marshaller in Jaxb2XmlEncoder [SPR-17388] #21921

Closed
spring-issuemaster opened this Issue Oct 16, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented Oct 16, 2018

Jakub Štiller opened SPR-17388 and commented

I would like to have ability to customize Jaxb Marshller inside org.springframework.http.codec.xml.Jaxb2XmlEncoder. 

 

My goal is to setup Marshaller to output CDATA element, as described here https://coderleaf.wordpress.com/2016/11/14/handling-cdata-with-jaxb/ . Currently there is no way how to setup custom properties into Marshaller.

 

Current workaround is to create custom XmlEncoder as copy paste of org.springframework.http.codec.xml.Jaxb2XmlEncoder and with customization of Marshaller


Affects: 5.1.1

Referenced from: commits 46a5fb7, de453ac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.