Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 39987 invoked by uid 500); 23 Jan 2002 08:51:27 -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 39974 invoked from network); 23 Jan 2002 08:51:27 -0000 Message-ID: <3C4E780E.3030804@hartle-klug.com> Date: Wed, 23 Jan 2002 09:45:02 +0100 From: Michael Hartle User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: AW: [C2] request parameters automatically passed to cocoon:/process sub-pipeline References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Matthew Langham wrote: >Carsten, > >>But, you're right that this is not always wanted, we have some >>cases were we don't want to pass the parameters. I'm still thinking >>of a good way to indicate this to the procotol, for example by >> "cocoon:/DONTPASSPARAMETERS@info.xml" >> >>If someone sees a good URI scheme for this, I will be very happy >>to implement that then! >> >>Carsten >> >Couldn't this be a different protocol, e.g. "raw-cocoon:/info.xml" ? ><< >Isn't this the same thing we implemented and then called "cocoonnp:/..."??? > >:-))) > >Matthew > >-- >Open Source Group sunShine - Lighting up e:Business >================================================================= >Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn >Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de >================================================================= > > >-----Ursprungliche Nachricht----- >Von: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com] >Gesendet: Mittwoch, 23. Januar 2002 09:45 >An: cocoon-dev@xml.apache.org >Betreff: Re: [C2] request parameters automatically passed to >cocoon:/process sub-pipeline > > >Carsten Ziegeler wrote: > >>Stuart Roebuck wrote: >> >>>I notice that in the latest official release of Cocoon2, if you have two >>>sitemap matches like: >>> >>>> >>>> >>>> >>>> >>>> >>>> >>>and >>> >>>> >>>> >>>> >>>> >>>> >>>and you request the page "info.html?param1=aparam¶m2=anotherparam", >>>the info.xml match receives the two request parameters as if it has been >>>called with "info.xml?param1=aparam¶m2=anotherparam". >>> >>>For my current work, this is a very helpful feature, but I'm not >>>confident >>>that it is intentional, and I don't want to build reliance on a >>>side-effect of the current implementation, particularly in light of all >>>the good work currently going on to improve sitemap processing. >>> >>>Could someone clarify whether this is expected behaviour. >>> >>Yes, this is the wanted behaviour, so you can actually rely on it. >> >>But, you're right that this is not always wanted, we have some >>cases were we don't want to pass the parameters. I'm still thinking >>of a good way to indicate this to the procotol, for example by >> "cocoon:/DONTPASSPARAMETERS@info.xml" >> >>If someone sees a good URI scheme for this, I will be very happy >>to implement that then! >> >>Carsten >> >Couldn't this be a different protocol, e.g. "raw-cocoon:/info.xml" ? > >Sylvain > Instead of encoding it via paramaters or even user name (eg. http://user@website.org), what about a sub-protocol like it is being used for jdbc driver URLs ? This would look like cocoon:raw:/info.xml" and would make a quite clean appearance. Best regards, Michael Hartle --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org