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.

        Activity

        Hide
        Joe Walnes added a comment -

        I'll get a fix in for the 1.1.1 release.

        Thanks
        -Joe

        Show
        Joe Walnes added a comment - I'll get a fix in for the 1.1.1 release. Thanks -Joe
        Hide
        Joe Walnes added a comment -
        Show
        Joe Walnes added a comment - Fixed in latest snapshot: http://dist.codehaus.org/xstream/jars/xstream-SNAPSHOT.jar

          People

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

            Dates

            • Created:
              Updated:
              Resolved: