IBM Support

PI32734: ADAPTER DOESN'T PARSE WELL RESPONSE THAT CONTAINS DTD TAG OR XMLNS ATTRIBUTE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • HTTP adapter will fail to receive DTD tags or XMLNS attribute
    inside the html
    tag.
    For example :
    <html xmlns="http://www.w3.org/1999/xhtml" lang="ja"
    xml:lang="ja"
    xmlns:html="http://www.w3.org/1999/xhtml">
    
    will cause the following error :
    - Error
    "errors":
          "Unexpected character 'T' on line 1, column 1",
          "The returned InvocationResult must be a valid JSON
    Object."
    
    additional Keywords :
    XMLNS ,DTD,ReturnContentType,
    
    
    Worklight Versions Affected:
    6.x
    
    Initial Impact:
    LOW
    

Local fix

  • No local fix provided
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users that have a backend response with XML of type "DOCTYPE *
    * html"                                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The server tries to validate backend response with scheme    *
    * from http://www.w3.org/XXXX/xhtml each request, the          *
    * validation affects to get timeout.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Added new property "adapters.saxparser.doctype.validation", if
    the property "adapters.saxparser.doctype.validation=false" the
    validation will be canceled.
    By default its value is true.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI32734

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-15

  • Closed date

    2015-06-11

  • Last modified date

    2015-06-11

  • 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

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021