Re: [CSV] trimming spaces - are both leading/trailing required?

2012-03-25 Thread Simone Tripodi
sounds reasonable indeed, let users chose the preferred behavior.
FWIW, +1 as well :)
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Mar 24, 2012 at 10:27 PM, Emmanuel Bourg ebo...@apache.org wrote:
 +1 for a single parameter controlling the trimming of the values (quoted or
 not).

 Emmanuel Bourg


 Le 23/03/2012 12:36, sebb a écrit :

 Do we really need to support independent leading/trailing spaces?

 I've been unable to find any reference to formats that require this.

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org



 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[CSV] trimming spaces - are both leading/trailing required?

2012-03-23 Thread sebb
Do we really need to support independent leading/trailing spaces?

I've been unable to find any reference to formats that require this.

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] trimming spaces - are both leading/trailing required?

2012-03-23 Thread Simone Tripodi
I agree with you!
spaces maybe are intentionally there, or not?
best,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Fri, Mar 23, 2012 at 12:36 PM, sebb seb...@gmail.com wrote:
 Do we really need to support independent leading/trailing spaces?

 I've been unable to find any reference to formats that require this.

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] trimming spaces - are both leading/trailing required?

2012-03-23 Thread sebb
On 23 March 2012 11:50, Simone Tripodi simonetrip...@apache.org wrote:
 I agree with you!
 spaces maybe are intentionally there, or not?
 best,

Some formats allow spaces either side of a delimiter (or line), some don't.

What I'm suggesting is having a single option to either keep spaces or
to strip spaces.

At present there are separate leading and trailing trimming options,
which I think is unnecessary.

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org