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

invalid lexical value used in javadoc of Duration

XMLWordPrintable

    • 1.3
    • generic
    • generic

      Name: erR10175 Date: 10/22/2003



        Specification of the constructor
      javax.xml.datatype.Duration.Duration(String lexicalRepresentation) has one illegal
      lexical representation of the duration datatype. The value is "+P1DT12H".

      According to the Section 3.2.6.1 Lexical representation of the XML Schema Part 2:
      Datatypes, preceding plus sign ('+') is not allowed. The only allowed is minus
      sign ('-'). So the description of the constructor should be fixed.

      ======================================================================

            kkawagucsunw Kohsuke Kawaguchi (Inactive)
            reysunw Rey Rey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: