Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-31

various XML definition improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • M1
    • XML Configuration
    • 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!

      Attachments

        1. OWB-31-2.patch
          5 kB
          Mark Struberg
        2. wb_xml_definition-patch.diff
          11 kB
          Mark Struberg

        Activity

          People

            gerdogdu Gurkan Erdogdu
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: