Hi,

We are currently using Camel 2.9.1 and are facing an issue with Bindy, CSV
and quotes.

We are getting a CSV file with ; as delimiter and containing text like:

....;Book "This is the book title"; ....

I.e. the quoted text is just a part of the textual value and not intended
for quoting delimiters.

The current implementation of the unquoteTokens method in
org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat the autodetection
and handling of quotes ends up with a null value for this text.

When browsing the svn is does not look to be corrected in later versions of
Camel.

I have a unittest for to examplify this and a correction to the
unquoteTokens method that handles this case (but for some reason I'm unable
to access the camel-jira and provide the patch etc.)

Best regards
Mikael




-----
NineConsult
RegionH
--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-csv-bindy-and-quotes-tp5727739.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to