IV14200: XMLSTREAMWRITER MAY WRITE GARBAGE FOR WIN-125X ENCODINGS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: MALFORMED XML generated using STAX under IBM Java
    Runtime while working correctly with Oracle Java Runtime.
    .
    Stack Trace:
    .
    

Local fix

Problem summary

  • IBM StAX XMLStreamWriter might write a malformed Windows-1251
    encoded XML document on the second and subsequent usages of the
    XMLStreamWriter API.
    For example: Correct output from first use of the
    XMLStreamWriter:
    <?xml version="1.0" encoding="Windows-1251"?><env:Envelope
    xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Header>
    </env:Header><env:Body><Object
    xmlns="urn:abc-de:fg:v1.0">Message</Object></env:Body></env:Enve
    lope>
    Incorrect output from second use of the XMLStreamWriter:
    <?xml version="1.0" encoding="Windows-1251"?>xenvtEnvelope
    xmlns:env="http://www.w3.org/2003/05/soap-envelopeD<HAT>00xenvtH
    eader<HAT>00</envtHeader<HAT>00xenvtBody<HAT>00xObject
    xmlns="urn:abc-de:fg:v1.0D<HAT>00Message</Object<HAT>00</envtBod
    y<HAT>00</envtEnvelope<HAT>00
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10 FP1
    6.0.1 SR1 FP1
    7.0.0 SR1
    .
    IBM JVM has been updated to make correct encodings for
    XMLStreamWriter.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV14200

  • Reported component name

    XML/XSL

  • Reported component ID

    620700126

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-28

  • Closed date

    2012-02-23

  • Last modified date

    2012-05-28

  • 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

    XML/XSL

  • Fixed component ID

    620700126

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
XML

Software version:

6.0

Reference #:

IV14200

Modified date:

2012-05-28

Translate my page

Machine Translation

Content navigation