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:
Fix information
Fixed component name
JAVA 5 XML/XSL
Fixed component ID
620500126
Applicable component levels
R500 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3V","label":"XML"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
16 August 2012