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

Jaxb2XmlEncoder does not support JAXBElement subtypes #33258

Closed
wants to merge 1 commit into from

Conversation

olbinski
Copy link
Contributor

Overview

This PR provides the ability to serialize a JAXBElement using the Jaxb2XmlEncoder by updating canEncode() accordingly.

It is fix this Pull Request

Here you can find similar example of usage

@pivotal-cla
Copy link

@olbinski Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@olbinski Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 22, 2024
@bclozel bclozel added type: bug A general bug in: web Issues in web modules (web, webmvc, webflux, websocket) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 23, 2024
@bclozel bclozel self-assigned this Jul 23, 2024
@bclozel bclozel added this to the 6.1.12 milestone Jul 23, 2024
@bclozel bclozel changed the title Bug fix: Support JAXBElement in Jaxb2XmlEncoder Jaxb2XmlEncoder does not support JAXBElement subtypes Jul 23, 2024
@bclozel bclozel closed this in 83ff8e4 Jul 23, 2024
@bclozel
Copy link
Member

bclozel commented Jul 23, 2024

Thanks for your contribution @olbinski - sorry we missed this case earlier.

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: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants