IV26338: EXSLT DATE:DATE-TIME() INCORRECT FOR 30 MIN OFFSET TIMEZONES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.lang.StringIndexOutOfBoundsException: String
    index out of range: -1
            at java.lang.String.substring(String.java:1067)
    
            at
    com.ibm.xslt4j.org.apache.rnm1.xalan.lib.ExsltDatetime.date(Exsl
    tDatetime.java:165)
    .
    

Local fix

Problem summary

  • The EXSLT date:date-time() function is incorrect for timezones
    that are offset by 30 min, such as India Standard Time (IST)
    GMT+5:30 or Newfoundland Standard Time (NST, Java: CNT)
    GMT-3:30.
    The minute part of the timezone offset is calculated as the
    remainder of the total offset divided by the number of
    milliseconds in an hour - which yields a result in milliseconds
    instead of minutes.
    This works when the minute offset is 0, but yields 1800000 when
    it should be 30, as in the following
    example:2012-02-29T11:28:32-03:1800000
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR14
    6.0.0 SR11
    .
    The date:date-time() function now calculates the minute part of
    the timezone offset correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV26338

  • Reported component name

    JAVA 5 XML/XSL

  • Reported component ID

    620500126

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-08-16

  • Last modified date

    2012-08-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV26339

Fix information

  • Fixed component name

    JAVA 5 XML/XSL

  • Fixed component ID

    620500126

Applicable component levels

  • R500 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
XML

Software version:

5.0

Reference #:

IV26338

Modified date:

2012-08-16

Translate my page

Machine Translation

Content navigation