0 Replies Latest reply on Mar 10, 2012 10:23 AM by Dennis Buttery

    How does Smooks handle the backslash character in CSV data?

    Dennis Buttery Newbie

      Hi all,


         I have an ESB that is using the Smooks action to process CSV data.   The data may contain a backslash ('\') at times.


         It appears that if a backslash is present, Smooks reads forward until it finds another backslash.   All data in-between (including newlines, etc...) is taken as a single field.


         I tried to massage the data and replace a single backslash with double backslashes.  This works to prevent the runaway parsing but I then end up with the double backslashes in my output.


         Is there a trick to escape the single backslash on the input side that results in having a single backslash in the output?