various XML definition improvements
-----------------------------------
Key: OWB-31
URL: https://issues.apache.org/jira/browse/OWB-31
Project: OpenWebBeans
Issue Type: Improvement
Components: XML Configuration
Reporter: Mark Struberg
Assignee: Gurkan Erdogdu
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!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.