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

setValidating(boolean) is deprecated in JAXB 2 [SWS-22] #181

Closed
gregturn opened this issue Apr 13, 2006 · 1 comment
Closed

setValidating(boolean) is deprecated in JAXB 2 [SWS-22] #181

gregturn opened this issue Apr 13, 2006 · 1 comment
Assignees
Milestone

Comments

@gregturn
Copy link
Contributor

Routis Haralampos opened SWS-22 and commented

When the method setValidation(boolean) of JaxbMarshaller is called it always throws an UnsupportedOperationException, due the fact that the JAXB has deprecated the similar method of java.xml.bind.Unmarshaller and the Sun's JAXB implementation throws that exception.

The problem is that the setValidation(boolean) method of JaxbMarshaller is being called in afterPropertiesSer() method, so the JaxbMarshaller cannot be instatiated by spring.


Affects: 0.9.1

@gregturn
Copy link
Contributor Author

Arjen Poutsma commented

Change the title of the issue to something more descriptive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants