We currently try to use java.sql.Date for all dates, so that when toString is invoked on them we get an iso date. This approach is flawed as we have to convert all dates to this even when coming off the wire from a queue for the sole purpose of having an iso date in all the generated xmls. It would be better to handle this in the emit stage of the xml emitting.