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

XMLGregorianCalendar implementation handles gMonth incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 5.0
    • xml
    • 6.0
    • generic
    • generic

      com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl class expects a gMonth to folow "--%M--%z" (see line 400), but according to the XML Schema spec errata E2-12 [1], the correct lexical space is now "--%M%z".

      The implemenation needs to be updated to work with this errata.

      For the backward compatibility purpose, it is probably also desirable to keep accepting "--%M--%z", as well.


      [1] http://www.w3.org/2001/05/xmlschema-errata#e2-12
      ###@###.### 2005-1-26 17:38:46 GMT

            jsuttorsunw Jeff Suttor (Inactive)
            kkawagucsunw Kohsuke Kawaguchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: