IBM Support

IT08169: XQUERY/JSONIQ PROCESSOR IS NOT ABLE TO PROCESS DOCUMENT PREFIXED WITH A BYTE ORDER MARK (BOM)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Attempting to convert an apparently valid JSON payload to XML
    using JSONiq fails with a fatal error as below:
    
    "Fatal Error at /UserScript.xq:1: [XPST0003] An expression is
    not a valid instance of the grammar defined for XQuery. \n
    Cause: \"option\""
    
    This is because the XQuery/JSONiq processor is not able to
    process a document with a BOM (Byte Order Mark).
    

Local fix

  • If the input message is coded as UTF-8, then a workaround until
    the fix is available, is to remove the BOM (when there is one)
    before sending to DataPower.
    If the input is non-UTF-8, then that workaround probably won't
    work.
    

Problem summary

  • Affected is the use of XQuery/JSONiq processor.
    
    If the input document is prefixed with a Byte Order Mark (BOM),
    DataPower incorrectly logs an error.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT08169

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-07

  • Closed date

    2015-06-16

  • Last modified date

    2015-06-29

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R600 PSY

       UP

  • R601 PSY

       UP

  • R700 PSY

       UP

  • R710 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1"}]

Document Information

Modified date:
26 September 2021