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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.7.17
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: