Do you know the valid date format(s) that you will be receiving in the XML?
At some point you need to convert from a String into a Date.
You can do this in the JAXB layer, or with the BeanUtils specifying date formats for the converter.
The important segment:
Example test code below: