Search code examples
javacsvdouble-quotessmooks

Smooks is failing to return comma separated values when double quote is encountered in the records


I have a CSV file, I am spcifying "comma" in smooksConfig file as separator. But smooks is failing to retrive values whenever one of the values has double quote(eg.21" TV, 10" Screen) if no double quote in my record, smooks works good.

thanks.


Solution

  • I found a workaround for this, in CSV I changed double quote with a special symbol & in application I replaced special symbol with duble quote.