IBM Support

IT10115: VALIDATION USING XSD:DECIMAL TYPE, IN SOME CASES, MAY CAUSE FALSE REJECTIONS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When validating an input XML on DataPower against the type
    xsd:decimal and using numbers of the format "[0-9]." the
    validate action will incorrectly fail validation.
    

Local fix

  • Please use
    
    <xsd:element name="decimal">
      <xsd:simpleType>
       <xsd:restriction base="xsd:string">
         <xsd:pattern value="(|\-|\+)(\d+(\.\d*|)|\.\d+)" />
       </xsd:restriction>
      </xsd:simpleType>
    </xsd:element>
    
    instead of
    
    <xsd:element name="decimal" type="xsd:decimal"/>
    

Problem summary

  • Affected is validation of xsd:decimal numbers.
    
    Valid xsd:decimal numbers of the form  [+-]?0+\.  get rejected
    by DataPower validation incorrectly.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT10115

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-16

  • Closed date

    2015-10-01

  • Last modified date

    2015-11-06

  • 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

  • R720 PSY

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 7.1

Reference #: IT10115

Modified date: 06 November 2015