IBM Support

IV81255: NEW LINE FEED IS NOT PRESENT AFTER XML DECLARATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Output is different between alternative JRE
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • When XML serialized to a string or bytes new line character is
    not included after xml declaration. This behaviour is expected
    and code works as designed. There is no requirement for new line
    character in XML specification. Therefore, the serialized result
    can be different between alternative JRE.
    

Problem conclusion

  • New system property
    (org.apache.xml.serializer.NewLineAfterXMLDecl) introduced to
    enable the new line character after xml header, when property is
    set to true. Default value is false.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP40  (7.0.9.40)
       6    SR16 FP25 (6.0.16.25)
       6 R1 SR8 FP25  (6.1.8.25)
       8    SR3       (8.0.3.0)
       7 R1 SR3 FP40  (7.1.3.40)
    .
    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

    IV81255

  • Reported component name

    XML/XSL

  • Reported component ID

    620700126

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-08

  • Closed date

    2016-02-24

  • Last modified date

    2016-02-24

  • 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

  • R700 PSY

       UP

  • R600 PSY

       UP

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

Document Information

Modified date:
21 February 2022