Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 25442 invoked by uid 500); 22 May 2003 14:39:49 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 25370 invoked from network); 22 May 2003 14:39:48 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 22 May 2003 14:39:48 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ir6I-0001Xr-00 for ; Thu, 22 May 2003 16:31:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cocoon-users@xml.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ir0S-00010c-00 for ; Thu, 22 May 2003 16:25:20 +0200 From: Sully Subject: Re: R: encoding url for reader / better ways pass strings to a reader? Date: Fri, 23 May 2003 00:27:14 -0700 Lines: 18 Message-ID: References: <3ECC0E44.20802@gmx.de> <002301c3203a$c04bf020$1b00a8c0@lapandrea> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en In-Reply-To: <002301c3203a$c04bf020$1b00a8c0@lapandrea> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N please do post your code you are correct in your examples, my problem is that if you match an encoded string and then pass that to the src it gets passed in as unencoded with no way (that I could find) to fix it. Andrea Pierini wrote: > I don't think it's a bug but a behaviour. What you put in the "src" > argument of a component in the sitemap is non encoded, so if you put for > example src="http://test/ /test" you get an error, while if you put > src="http://test/%20/test" everything works fine. This is ok for files > in the file system but not ok for files on the web. > I've solved the problem writing a little action in java to encode the > sitemap parameters if they are http urls. If someone is interested I can > post the code. > Bye > Andrea Pierini --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org