Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6536

XML pretty printing produces double line spacing if incoming XML contains linefeeds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.7.17
    • 3.1.3
    • None
    • None
    • Unknown

    Description

      After upgrading from 2.7.6 to 2.7.17 I am seeing incoming XML written to my logs with an additional blank row between every row of text.

      The incoming XML (outside of my control) already contains line feed characters (ascii 10) after each line.

      I am using the LoggingFeature with prettyPrinting enabled. (I need this enabled because the outgoing XML doesn't contain any line breaks.)

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            dhorrell Damon Horrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: