IBM Support

PI50673: JAXB unmarshalling not tolerating whitespace around token enumerations

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere Application Server JAXB implementation can be
    affected.
    
    When validated XML is processed by JAXB the whitespace values
    are not normalized and values having leading or trailing
    whitespaces are not being processed correctly.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When xs:token type is used as a base    *
    *                      for enumerations, whitespace(s) around  *
    *                      enum values will prevent correct        *
    *                      unmarshallling.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When enumerations are declared such as:
    <xs:element name="color">
    <xs:simpleType>
    <xs:restriction base="xs:token">
    <xs:enumeration value="Red"/>
    <xs:enumeration value="Green"/>
    <xs:enumeration value="Blue"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    XML such as <color> Red</color> will not be matched correctly
    during unmarshalling, because of the whitespace character
    

Problem conclusion

  • A fix was added to be able to match xsd:token values during
    the process of matching enumeration values.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.13 and 8.5.5.9.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50673

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-15

  • Closed date

    2016-01-22

  • Last modified date

    2016-01-22

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022