[ 
https://issues.apache.org/jira/browse/OWB-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg updated OWB-31:
-----------------------------

    Attachment: wb_xml_definition-patch.diff

it's really late now, so please check carefully ;)

+ 

* if my changes in the ClassUtil are OK for you, then we should maybe think 
about removing the other 
{noformat}
  parse...
  } catch (Exception e) {
    return null;
  }
{noformat}
too.


> 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
>         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.

Reply via email to