Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-60

XML layout can be mismatched with document encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.7
    • 0.10.0
    • Layout
    • None

    Description

      The XMLLayout acts independently of the document encoding and a mixmatch can easily result in invalid files. To prevent the issue, it would be beneficial if all characters greater than 0x7F be represented using character entities.

      In addition, the current XMLLayout would appear to not successfully handle logger names and other fields that contain special characters like <, >, ", etc. I believe that these same weaknesses affect log4j.

      Attachments

        Issue Links

          Activity

            People

              carnold@apache.org Curt Arnold
              carnold@apache.org Curt Arnold
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: