XStream
  1. XStream
  2. XSTR-190

Attribute values aren't being escaped in PrettyPrintWriter

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      n/a

      Description

      In com.thoughtworks.xstream.io.xml.PrettyPrintWriter, attribute values aren't being escaped. This causes a particular problem when serializing instances of java.util.Properties that have xml fragments (or anything using any special xml characters or quotes) as keys or values.

        People

        • Assignee:
          Unassigned
          Reporter:
          Antony Blakey
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: