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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: jaxp_1.4
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: