Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6334167

newDurationDayTime(String) and newDurationYearMonth(String) fail to test for duration type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • jaxp_1.4
    • xml
    • b59
    • generic
    • generic

      jaxax.xml.datatype.DatatypeFactory.newDurationDaytime(String lexicalRepresentation) and
      DatatypeFactory.newDurationYearMonth(String lexicalRepresentation) do not assure that the
      lexical form represents only a day/time or year/month duration. In other words, newDurationDayTime("P3M1D") constructs a "DayTime" duration that includes a month component.

            duke J. Duke
            nwalshsunw Norman Walsh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: