Hi, the DateFormat used in the DateTool is supporting only a subset of ISO 8601 date/times. In particular time zones are missing, likewise one must not use milliseconds.
I suggest using the class XsDateTimeFormat from ws-jaxme instead, which is a thread safe instance of Format. The only difference to the current SimpleDateFormat is that it returns and accepts instances of java.util.Calendar. That could of course easily be wrapped by the DateTool. Question: - Would a patch be accepted? - If so, how to integrate the class? Copy it? Use jaxmexs.jar as a prerequisite? Move it to a "commons" subproject? Regards, Jochen