cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: cvscommit:cocoon-2.0/src/java/org/apache/cocoon/transformationSQLTransformer.java
Date Thu, 13 Mar 2003 14:45:15 GMT
Pier Fumagalli wrote:
> > Luca just suggested to simply use a
> > String query = StringUtils.replace(sb.toString(), "\r", " ", -1);
> > 
> > which could solve the problems as well.
> 
> Shouldn't it raise the same problem of when stuff is in "" strings???
> 
Yes, it should, but I assume that \r is never alone; it always comes
with a \n and therefore only removing \r should be ok, I guess.

Carsten


Mime
View raw message