Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
improved the XMLFieldTest and fixed a few parsing failures:
- Date fields must be added with real type (e.g. java.sql.Timestam instead of always use java.util.Date). Otherwise the injection of those fields will fail later in the XMLComponentImpl#injectFieldValues.
- parsing of Date and Calendar fields are now split.
- Calendar is only an Interface! So we currently always inject a GregorianCalendar. TODO: how should we handle other Calendars?
- parsing of Date (and derivative) fields set from DateFormat.getDateTimeInstance() to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ") TODO: we have to clarify this with Gavin since the Spec says otherwise in 9.2.5!