IBM Support

PM77051: XML TO UTF-8 FLAT FILE CONVERSION FAILS TO CONVERT XML ESCAPE CHARACTER REFERENCE IN FIRST POSITION OF XML ELEMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An XML file to a UTF-8 Flat file conversion may fail to convert
    an XML Escape character reference value in the first position of
     an XML element.
    
    For example, if an Escape value of "É" is the first
    position of the XML element, then the expected output is "É"
    (accented E character) or UTF-8 Hex C3 89 character but instead
    the output value is not converted and is created as the original
    "É" Escape value.
    
    XML element input: <test>&#201;</test>
    UTF-8 Flat file output: &#201;
    
    If the Escape value is not in the first position of the XML
    element, then the problem does not occur.
    
    XML element input: <test>A&#201;</test>
    UTF-8 Flat file output: AÉ (UTF-8 Hex 41 for the "A" and Hex [C3
    89] double byte character for the "É")
    
    If a second Escape value is present in the XML element, then the
    problem does not occur.
    
    XML element input: <test>&#201;&#201;</test>
    UTF-8 Flat file output: ÉÉ (UTF-8 Hex [C3 89] and [C3 89] double
    byte characters)
    

Local fix

  • WTXCQ - WTX00041797
    PVB / PVB
    Circumvention: None
    

Problem summary

  • Users Affected:
    WebSphere Transformation Extender customers who use Xerces XML
    parser and leading escaper characters
    
    Problem Description:
    XML string >&#201;< is improperly converted.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Correct inform the core engine that we have found escape
    characters and have converted the data. Would tend to happen if
    Escape character was first character in element.
    Also corrects collapse facet functioning when no escape
    characters are found. Previously white space characters would
    not be removed.
    
    Delivered in:
    8.3.0.6, 8.4.0.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77051

  • Reported component name

    WEBSPHERE DESIG

  • Reported component ID

    5724M4008

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-11-14

  • Closed date

    2012-12-18

  • Last modified date

    2014-06-04

Fix information

  • Fixed component name

    WEBSPHERE DESIG

  • Fixed component ID

    5724M4008

Applicable component levels

  • R820 PSY

       UP

  • R830 PSY

       UP

  • R840 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
04 June 2014