IBM Support

PM93742: "CONTENT IS NOT ALLOWED IN PROLOG" ERROR TRYING TO GET XML WITH BOM PADDING FROM AN HTTP ADAPTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The HTTP adapter cannot process any XML file with the
    Byte Order Mark (BOM) such as this file
    http://travel.state.gov/_res/rss/TWs.xml.
    Using NotePad++ with Hex Editor plugin, you will see the extra 3
    characters at the beginning of the file:  ef bb bf
    

Local fix

  • Manually remove the Byte Order Mark from the XML before
    proceeding.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers or Administrators of a Worklight application      *
    * which makes use of an HTTP adapter that tries to retrieve an *
    * XML file which contains a Byte Order Mark (BOM) header.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The XML parsing fails when the adapter tries to load the XML *
    * file which contains the BOM header.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The code was fixed to support BOM headers in XML files.
    
    The fix for this APAR is currently targeted for fixpack 5.0.6.2
    and fixpack 6.0.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93742

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-24

  • Closed date

    2014-01-12

  • Last modified date

    2014-01-12

  • 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

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R506 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021