[
https://issues.apache.org/jira/browse/OWB-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurkan Erdogdu resolved OWB-31.
-------------------------------
Resolution: Fixed
Fix Version/s: M1
Date and Calendar with defaults are used. SimpleDateFormat is added as Date
parsing. Thanks Mark.
> 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
> Fix For: M1
>
> Attachments: wb_xml_definition-patch.diff
>
>
> 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.