Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
-
OS-independent, was created on OSX
-
Patch Available
Description
I had a need to process file with ASCII code 0x1 for column separator, and ASCII code 0x2 for the line separator. Please notice, that usual end of line is used in file as a regular character in the middle of a text field, and should remain in the resulting XML. SimpleFlatFileMarshaler does not allow to change the line separator, and it's not easy to set the column separator to be non-printable character in Spring configuration XML. The attached patch improves this marshaler so it's able to parse such files.