title: How can I use Spring REST with MappingJackson2XmlHttpMessageConverter and XSD validation
body: <p>I'm creating a Spring 4 REST application, using <code>MappingJackson2XmlHttpMessageConverter</code> to convert incoming XML requests to domain objects. Is there any way to apply XSD validation in that process? If not, I think my fallback is to just make the <code>@RequestBody</code> a <code>String</code>, parse and validate it, and then convert it to the domain object. Is there a better approach?</p>