Issue Details (XML | Word | Printable)

Key: XSTR-93
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Robert Fuller
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

Reserialized String not equal in

Created: 26/Jun/04 10:13 AM   Updated: 20/Jan/05 02:30 PM
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: 1.1.1

Issue Links:
Duplicate
 


 Description  « Hide
The following test fails with version 1.0.1, and the snapshot.jar from the download page:

public void testSlashRSlashSlashSlashN(){
StringBuffer sb = new StringBuffer().append('\r').append('\\').append('\n');
XStream xstream = new XStream();
String before = sb.toString();
String xml = xstream.toXML(before);
String after = (String)xstream.fromXML(xml);
assertEquals("strings don't match",before,after);
}



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joe Walnes added a comment - 20/Jan/05 02:30 PM