IBM Support

PH33223: "XML PARSING ERROR: NOT WELL-FORMED" FOR VALID HTML ITEM EXPRESSION WHEN INTERACTIVITY = YES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Special characters cannot be passed in HTML Item with
    Interactivity set to 'Yes'.
    Special characters like ampersand (&), greater or lower than (>,
    <) will cause the following error:
    ---
    HTML report output is not well formed. If your report uses "HTML
    Item" elements ensure that they result in well-formed HTML.
    Reason:XML Parsing Error: not well-formed
    ---
    
    This error occurs when the HTML Item content is either typed in
    or assigned by referencing a query or data item.
    

Local fix

  • Choose the alternate solution that is most convenient:
    (a) Set Interactivity to 'No' (Report property)
    (b) Avoid special characters that could confuse
    (c) Use special characters entity definition, more details can
    be found for example on w3.org
    (d) Use replace() function to convert special characters to
    entity definitions, for example: replace(Replace([Special
    characters];'&';'&amp;');'<';'&lt;')
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * None                                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * "XML PARSING ERROR: NOT WELL-FORMED" FOR VALID HTML ITEM     *
    * EXPRESSION WHEN INTERACTIVITY = YES                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • HTML needs to be properly formed and wrapped in tags.  Special
    characters need to be escaped.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33223

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    B09

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-11

  • Closed date

    2024-05-31

  • Last modified date

    2024-05-31

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B09","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
31 May 2024