Skip to content

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

@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions