Skip to content

AllEncompassingFormHttpMessageConverter does not prefer Jackson2 over JAXB for XML marshalling [SPR-13240] #17831

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

Closed
spring-projects-issues opened this issue Jul 16, 2015 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 16, 2015

Bertrand Renuart opened SPR-13240 and commented

When configuring itself, AllEncompassingFormHttpMessageConverter doesn't prefer Jackson2 over JAXB for XML serialisation if Jackson2 is present on the classpath.

Because of this, it doesn't follow the behaviour of WebMvcConfigurationSupport or RestTemplate.


Affects: 4.2 RC3

Issue Links:

Referenced from: commits 9de824b

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jul 17, 2015

Juergen Hoeller commented

As a further inconsistency, AllEncompassingFormHttpMessageConverter doesn't register GsonHttpMessageConverter either if GSON is present on the classpath (#14123).

I've closed both gaps for 4.2 GA now.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants