[jira] [Updated] (CAMEL-12274) Bindy - Unescape double quotes inside CSV field

2018-04-07 Thread Dmitry Volodin (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-12274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Volodin updated CAMEL-12274:
---
Fix Version/s: 2.22.0

> Bindy - Unescape double quotes inside CSV field
> ---
>
> Key: CAMEL-12274
> URL: https://issues.apache.org/jira/browse/CAMEL-12274
> Project: Camel
>  Issue Type: Wish
>  Components: camel-bindy
>Affects Versions: 2.20.2
>Reporter: Bohdan
>Assignee: Dmitry Volodin
>Priority: Minor
> Fix For: 2.22.0
>
>
> In CSV quote character inside a field is represented by 2 quote characters 
> ([https://en.wikipedia.org/wiki/Comma-separated_values#Standardization]).
> For example, value
> {noformat}
> a"b"c{noformat}
> is represented in CSV as
> {noformat}
> "a""b""c"{noformat}
> . However, after unmarchalling it with bindy, the resulting value is
> {noformat}
> a""b""c{noformat}
> instead of
> {noformat}
> a"b"c{noformat}.
> I know that unescaping quotes can be done manually, for example, by providing 
> method in @DataField annotation. But shouldn't this be the default behavior?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-12274) Bindy - Unescape double quotes inside CSV field

2018-02-16 Thread Bohdan (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-12274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bohdan updated CAMEL-12274:
---
Description: 
In CSV quote character inside a field is represented by 2 quote characters 
([https://en.wikipedia.org/wiki/Comma-separated_values#Standardization]).

For example, value
{noformat}
a"b"c{noformat}
is represented in CSV as
{noformat}
"a""b""c"{noformat}
. However, after unmarchalling it with bindy, the resulting value is
{noformat}
a""b""c{noformat}
instead of
{noformat}
a"b"c{noformat}.

I know that unescaping quotes can be done manually, for example, by providing 
method in @DataField annotation. But shouldn't this be the default behavior?

  was:
In CSV quote character inside a field is represented by 2 quote characters 
([https://en.wikipedia.org/wiki/Comma-separated_values#Standardization]).

For example, value
{code:java}
a"b"c{code}
is represented in CSV as
{code:java}
"a""b""c"{code}
. However, after unmarchalling it with bindy, the resulting value is
{code:java}
a""b""c{code}
instead of
{code:java}
a"b"c{code}

I know that unescaping quotes can be done manually, for example, by providing 
method in @DataField annotation. But shouldn't this be the default behavior?


> Bindy - Unescape double quotes inside CSV field
> ---
>
> Key: CAMEL-12274
> URL: https://issues.apache.org/jira/browse/CAMEL-12274
> Project: Camel
>  Issue Type: Wish
>  Components: camel-bindy
>Affects Versions: 2.20.2
>Reporter: Bohdan
>Priority: Minor
>
> In CSV quote character inside a field is represented by 2 quote characters 
> ([https://en.wikipedia.org/wiki/Comma-separated_values#Standardization]).
> For example, value
> {noformat}
> a"b"c{noformat}
> is represented in CSV as
> {noformat}
> "a""b""c"{noformat}
> . However, after unmarchalling it with bindy, the resulting value is
> {noformat}
> a""b""c{noformat}
> instead of
> {noformat}
> a"b"c{noformat}.
> I know that unescaping quotes can be done manually, for example, by providing 
> method in @DataField annotation. But shouldn't this be the default behavior?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)