I have two JAXB objects where each have an XMLGregorianCalendar field. I am trying to map them using Dozer 5.3.1. It seems to map correctly without any hiccups yet when I ran a JUnit test to compare the XMLGregorianCalendar from the source object to the one in the destination I got an assertion error. The error was due to the source XMLGregorianCalendar having a value for the timezone field while the destination did not. Every other field in the XMLGregorianCalendar though seemed to be mapped correctly.
Log in to post a comment.