IBM Support

IV76240: NAMESPACE MISSING WHEN 'JAVAX.XML.CRYPTO.DSIG.CACHEREFERENCE' SE T TO TRUE

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

  • Error Message: When signing/verifying an XML element and if
    "javax.xml.crypto.dsig.cacheReference" is set to TRUE , an
    namespace node is not properly rendered although the below three
    conditions are met according to
    http://www.w3.org/TR/xml-exc-c14n/#sec-Specification :
    A namespace node N with a prefix that does not appear in the
    InclusiveNamespaces PrefixList is rendered if all of the
    conditions are met:
    1. Its parent element is in the node-set, and
    2. it is visibly utilized by its parent element, and
    3. the prefix has not yet been rendered by any output ancestor,
    or the nearest output ancestor of its parent element that
    visibly utilizes the namespace prefix does not have a namespace
    node in the node-set with the same namespace prefix and value as
    N.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • Necessary namespace is missing when
    "javax.xml.crypto.dsig.cacheReference" set to TRUE
    

Problem conclusion

  • The fix is to keep the necessary namespace when
    "javax.xml.crypto.dsig.cacheReference" is set to TRUE. This
    makes the XML implementation behaves the same on handling
    namespace when "javax.xml.crypto.dsig.cacheReference" is set to
    TRUE or FALSE.
    The associated RTC PR is 97657
    The associated Austin CMVC defect is 116828
    The associated APAR is IV75356
    JVMs affected : Java 6.0, Java 6.1, Java 7.0, Java 7.1 and Java
    8.0
    The fix was delivered for Java 6.0 SR16 FP15, Java 6.1 SR8 FP15,
    Java 7.0 SR9 FP20, Java 7.1 SR3 FP20 and Java 8.0 SR2
    The affected jar is "ibmxmlcrypto.jar".
    The build level of this jar for the affected releases is
    "20150814"
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP20  (7.0.9.20)
       8    SR2       (8.0.2.0)
       6 R1 SR8 FP15  (6.1.8.15)
       6    SR16 FP15 (6.0.16.15)
       7 R1 SR3 FP20  (7.1.3.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV76240

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-21

  • Closed date

    2015-08-21

  • Last modified date

    2015-08-21

  • 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

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R260 PSY

       UP

  • R270 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020