A fix is available
APAR status
Closed as fixed if next.
Error description
Rational Developer for System z (RDz) 8.0.3.2 Due to http://www.w3.org/TR/REC-xml/#sec-line-ends a carriage return (CR) character will be converted to a line feed (LF) character when parsing an XML; a CR LF will be parsed to a single LF. If a PLI application programer adds a CR or CR LF to a response field in the application code, the converter running in ICON converts a CR or CR LF to UTF-8 without any escaping. Due to the XML parsing rule above an XML parser converts a CR or CR LF to a single LF. As a result the web service client application will see only a LF but not the original CR or CR LF. Therefore, the CR character should be escaped using ?#xD; (similar to ?, ?, ' and ') by the generated XML converter in the LS2XML phase. This problem occurs in COBOL-LS2XML environment also.
Local fix
Problem summary
RD/z COBOL and PL/I Compiled LS2XML converters do not escape CR (0x0D) characters when generating XML. RD/z COBOL and PL/I Compiled LS2XML converters have been corrected to escape CR characters as 
 when generating XML element and attribute character content. Note: CR escaping applies only to XML elements and attributes for which the facet <whiteSpace="preserve"/> is in effect. This APAR is being closed FIN with concurrence from the submitting customer. This means that a fix to this APAR is expected to be delivered from IBM in a release which is being developed at the time that the APAR was closed. The latest release of the product to exit development at the time this APAR was closed was: Rational Developer for System z V8.5.1.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
PM71193
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
850
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-20
Closed date
2012-11-26
Last modified date
2012-11-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R850 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
29 October 2021