users@jaxb.java.net

Re: is anyone using JAXB with spring-framework 3.0 ?

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Wed, 19 Jan 2011 14:48:39 -0500

I use JAXB with spring 3.x.

Try configuring your JAXB2Marshall with a ValidationHandler:

http://www.docjar.com/docs/api/org/springframework/oxm/jaxb/Jaxb2Marshaller.html#setValidationEventHandler%28ValidationEventHandler%29



On 01/19/2011 02:32 PM, Andy Davidson wrote:
> Hi
>
> I am starting a new project and plan on using JAXB and spring. "section 14. marshalling XML using O/X mappers" in the spring-framework reference talks about support for JAXB. I could not figure out how to configure the unmarshall so that it validates. and how to set the Marshall objects properties.
>
> is this possible?
>
> thanks
>
> Andy
>


-- 
Regards,
Farrukh Najmi
Web:http://www.wellfleetsoftware.com