Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.4.2
-
Component/s: None
-
Labels:None
Description
The current BigDecimalConverter can't convert strings with blanks, a simple trim() can remove this behavior.
An example of String (between quotes) is: " 465123012 "
I took my time to think over it, but I'll close this issue as "won't fix". XStream is in first line designed to read what it has written. If this converter is supporting trimming, there would be no reason why all the others will not. And I do not like to take this road for XStream. It is plain easy to overload an existing converter or create a converter wrapper with this functionality to satisfy that special requirement.
Anyway, thanks for taking your time to create this report.