You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Birchfield (JIRA)" <ji...@apache.org> on 2014/06/18 05:29:02 UTC
[jira] [Commented] (CAMEL-7519) CSV unbinding does not escape
embedded quote character
[ https://issues.apache.org/jira/browse/CAMEL-7519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034762#comment-14034762 ]
James Birchfield commented on CAMEL-7519:
-----------------------------------------
I understand different CSV parsers handle escaped quotes differently. Some want \" and some want "". Perhaps this could be an option.
I still believe that all embedded delimiters should be escaped as well, but probably only by prepending the \ character.
> CSV unbinding does not escape embedded quote character
> ------------------------------------------------------
>
> Key: CAMEL-7519
> URL: https://issues.apache.org/jira/browse/CAMEL-7519
> Project: Camel
> Issue Type: Bug
> Components: camel-bindy
> Reporter: James Birchfield
>
> If you have String field that contains the same character (String) as the quote character, and quoting is set to true, the embedded character should be escaped.
> val s:String = "\"foo\""
> Bindy will unmarshal to the CSV stream ""foo"","...","...","...",...
> it should be "\"foo\"","...","...","...",...
--
This message was sent by Atlassian JIRA
(v6.2#6252)