Details
-
Type: Bug
-
Status: 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.
I'll get a fix in for the 1.1.1 release.
Thanks
-Joe