Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 15670 invoked by uid 500); 13 Mar 2003 14:45:48 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 15657 invoked from network); 13 Mar 2003 14:45:48 -0000 Received: from mail.s-und-n.de (212.8.217.2) by daedalus.apache.org with SMTP; 13 Mar 2003 14:45:48 -0000 Received: from mail.s-und-n.de (localhost [127.0.0.1]) by mail2.s-und-n.de (postfix) with ESMTP id 43175A292C for ; Thu, 13 Mar 2003 15:45:24 +0100 (CET) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id E9C16A2814 for ; Thu, 13 Mar 2003 15:44:43 +0100 (CET) Received: from hw0386 ([10.10.2.66]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003031315444316:7621 ; Thu, 13 Mar 2003 15:44:43 +0100 From: "Carsten Ziegeler" To: Subject: RE: cvscommit:cocoon-2.0/src/java/org/apache/cocoon/transformationSQLTransformer.java Date: Thu, 13 Mar 2003 15:45:15 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 13.03.2003 15:44:43, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 13.03.2003 15:45:24, Serialize complete at 13.03.2003 15:45:24 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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