Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78842 invoked from network); 4 Nov 2003 21:32:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Nov 2003 21:32:10 -0000 Received: (qmail 2980 invoked by uid 500); 4 Nov 2003 21:31:51 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 2669 invoked by uid 500); 4 Nov 2003 21:31:49 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 2655 invoked from network); 4 Nov 2003 21:31:49 -0000 Received: from unknown (HELO mf2.bredband.net) (195.54.106.37) by daedalus.apache.org with SMTP; 4 Nov 2003 21:31:49 -0000 Received: from digitalfarmers.com ([213.113.112.93]) by mf2.bredband.net with ESMTP id <20031104213153.PXXN28253.mf2@digitalfarmers.com> for ; Tue, 4 Nov 2003 22:31:53 +0100 Message-ID: <3FA81AC9.8000805@digitalfarmers.com> Date: Tue, 04 Nov 2003 22:31:53 +0100 From: Anders Forsgren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: XSP/ESQL escaping References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >Where and how is formatMessage() implemented? That is the code we really >need to see, I think. Thanks for your time The formatMessage is implemented above the problem in the xsp logic section, and it (currently) only does this : public string formatMessage(String message) { return instring.replaceAll("\n", "
) }
the problem area in the xsp, like I said looks like this formatMessage() The problem occurs when the xsp:expr contains tags (i.e. if I do the replace "\n" ---> "foo" , then all is well, but "\n" ---> "" will not work. ) rgds Anders > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org