IBM Support

IT34662: AN INVALID OR ILLEGAL XML CHARACTER IS SPECIFIED WHEN B2B FUNC CLIENT ADAPTER USED IN COMBINATION WITH STATUS_RPT XPATH

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • [2020-09-17 09:07:10.858] ERRORDTL
    [1600348030858]org.w3c.dom.DOMException: INVALID_CHARACTER_ERR:
    An invalid or illegal XML character is specified.
    at
    org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown
    Source)
    at com.sterlingcommerce.woodstock.xpathutil.XPathHelper.
    createNode(XPathHelper.java:1467)
    at com.sterlingcommerce.woodst
    ock.xpathutil.XPathHelper.createTargetContext(XPathHelper.java:1
    141)
    at com.sterlingcommerce.woodstock.xpathutil.XPathHelper.cre
    ateTargetContext(XPathHelper.java:1053)
    at com.sterlingcommerce.
    woodstock.workflow.WorkFlowContext.assignToMessage(WorkFlowConte
    xt.java:316)
    at com.sterlingcommerce.woodstock.workflow.WorkFlow
    Context.preInvokeService(WorkFlowContext.java:209)
    at com.sterli
    ngcommerce.woodstock.workflow.activity.engine.ActivityEngineHelp
    er.invokeService(ActivityEngineHelper.java:1781)
    at com.sterling
    commerce.woodstock.workflow.activity.engine.ActivityEngineHelper
    .nextMainLogic(ActivityEngineHelper.java:631)
    at com.sterlingcom
    merce.woodstock.workflow.activity.engine.ActivityEngineHelper.ne
    xt(ActivityEngineHelper.java:362)
    at com.sterlingcommerce.woodst
    ock.workflow.queue.WorkFlowQueueListener.doWork(WorkFlowQueueLis
    tener.java:459)
    at com.sterlingcommerce.woodstock.workflow.queue
    .WorkFlowQueueListener.run(WorkFlowQueueListener.java:240)
    at co
    m.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListene
    r.onMessage(WorkFlowQueueListener.java:197)
    

Local fix

  • B2BISFG-54315
    

Problem summary

  • Users Affected:
    
    All customers using B2BI REST API
    
    
    
    Problem Description:
    
    
    
    An invalid or illegal XML character is specified when the B2B
    Mail Client Adapter used in combination with Status_Rpt xpath
    functionality.
    
    
    
    Platforms Affected:
    
    All Platforms
    

Problem conclusion

  • Resolution Summary:
    
     A code fix is provided.
    
    When adding an element to the XML document, whether in process
    data or message to service, etc .., elements that contains
    invalid xml character like @ should be modified and replaced by
    _ so the element can be added without problem.
    
    
    
    
    
    Delivered in:
    
    6000304
    6010002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34662

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    603

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-23

  • Closed date

    2021-02-03

  • Last modified date

    2021-03-15

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"603"}]

Document Information

Modified date:
16 March 2021