IBM Support

PM93719: XML VALIDATION FAILS AS FLOATING VALUES IN INTEGER FIELDS ARE ROUNDED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Attempts to use floating values in XML integer fields fail due
    to rounding.
    20.7 becomes 21 and 20.2 becomes 20.
    
    STEPS TO REPRODUCE
    
    1. Obtain or create an XML schema with an integer field type
    2. Create a test that subscribes to the message, put a floating
    point value into the integer field.
    3. Create a test that publishes to the first test using a
    different floating point value in the integer field
    4. Run the test
    
    EXPECTED RESULT
    
    The test sends the floating value.
    Validation fails and reports the expected and actual floating
    values.
    
    ACTUAL RESULT
    
    The test sends an integer value.
    Validation can incorrectly pass if both values round to the same
    integer.
    Validation fails and displays the integer values used.
    The Message Difference window shows the correct values in the
    Configured Message and Actual Message sections.
    
    WORKAROUNDS
    
    1. Change the XML schema so that the fields affected are of
    "string" type.
    2. Do not apply the schema to the message so that all fields are
    treated as strings.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester working with XML    *
    * schemas.                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Because it was possible to use a floating point number in an *
    * XML integer field, rounding could then cause the test to     *
    * fail.                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix for this issue was provided in version 8.7.0 of Rational
    Integration Tester. Validation now provides a warning message if
    the user attempts to enter a floating point number in an integer
    field.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93719

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-24

  • Closed date

    2015-05-22

  • Last modified date

    2015-05-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

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBLQQ","label":"Rational Test Workbench"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021