IBM Support

PK56607; 6.0.2.17: Web services runtime throws org.xml.sax.saxparseexception

Download


Abstract

Web services runtime might throw org.xml.sax.SAXParseException when processing a surrogate character pair value.

Download Description

PK56607 resolves the following problem:

ERROR DESCRIPTION:
IBM® WebSphere® Web Services runtime might not handle strings with surrogate character pairs correctly during serialization and deserialization. This usually results in a org.xml.sax.SAXParseException at the other receiving end.

This problem might occur in WebSphere Application Server V6.0 and V6.1 releases.

LOCAL FIX:
N/A.

PROBLEM SUMMARY:

USERS AFFECTED:
IBM WebSphere Application Server version 6.0.2 and 6.1 users of web services

PROBLEM DESCRIPTION:
Web services runtime might throw org.xml.sax.SAXParseException when processing a surrogate character pair value.

RECOMMENDATION:
None

A small subset of UTF-16 characters are defined in a two character format. These two characters are called, respectively, the high surrogate and the low surrogate. The problem is in the xml encoding of one of these surrogate pairs.

Some characters (for example, <) cannot be placed in xml text. The XMLUtils utility class has methods to "encode" such characters. The current algorithm uses a digital encode for any character whose value is greater than 256 (example &#256;).

When a character is a surrogate pair of characters, the digital encoding should be one value - currently we are producing two.

This is wrong: &#131083; and this is correct: &131083;

PROBLEM CONCLUSION:
The processing of surrogate pair characters has been fixed to account for UTF-16 characters that are defined in a two-char format.

The fix for this APAR is currently targeted for inclusion in cumulative fixes 6.0.2.27 and 6.1.0.15.

Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7904","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK56607/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
6.0.2.17-WS-WAS-IFPK5660709-24-2008US English21153FCFTPDD

On
[{"DNLabel":"6.0.2.17-WS-WAS-IFPK56607","DNDate":"09-24-2008","DNLang":"US English","DNSize":"21153","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/support/entry/portal/Open_service_request/Software/Software_support_(general)), visit the WebSphere Application Server Support Web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Services (for example: SOAP or UDDI or WSGW or WSIF)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.17","Edition":"Advanced;Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24020611