History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-352
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Joerg Schaible
Reporter: Bruce Sutherland
Votes: 0
Watchers: 0
Operations

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

Strings containing invalid XML characters are serialized, but cannot be deserialized.

Created: 09/Oct/06 01:13 AM   Updated: 25/Feb/08 05:01 PM
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: 1.3

JDK version and platform: Sun 1.5.0_03 for Windows


 Description  « Hide
For example, a String containing the Unicode character 0x4 (ctrl-d), will be serialized, but when deserialization is attempted an Exception is thrown: "An invalid XML character (Unicode: 0x4) was found in the element content of the document"

Better might be to encode the String as a byte-array?

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joerg Schaible - 25/Sep/07 03:34 PM
ISO characters will be written as hex entity now. Fixed in head revision.

Joerg Schaible - 25/Feb/08 05:01 PM
Closing issues before next release.