Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 94380 invoked by uid 500); 9 Apr 2002 09:50:06 -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 94366 invoked from network); 9 Apr 2002 09:50:05 -0000 Date: Tue, 9 Apr 2002 10:49:21 +0100 Subject: Re: [PROPOSAL] map:redirect-to vs. map:forward Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) From: Stuart Roebuck To: cocoon-dev@xml.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <001601c1dfa7$5dbf38b0$670004c0@PC103> Message-Id: <11948FD2-4B9F-11D6-8845-0030654777A6@adolos.co.uk> X-Mailer: Apple Mail (2.481) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tuesday, April 9, 2002, at 10:17 AM, Nicola Ken Barozzi wrote: > >> I'd like to propose to add a node to sitemap. >> Behavior should be the same as . > > What's different from current map:call ? > > > > I can see value in a more explicit facility for redirecting to an existing sitemap match as opposed to a resource. However, if this is the case, then I presume that the passed parameters would be treated as http request parameters and not variables in the environment map. For reasons of accessibility there are situations when it would be extremely valuable to output the contents of another web page in response to request failure or other detectable condition without using a 'real redirect' (status code 302). Real redirects are considered a 'no no' on accessible sites but producing the resulting pages as resources instead of site matches seems clumsy and unrepresentative of the intention of the code. I believe that this facility is already available in the form (but I haven't tried it!): But as Konstantine says, this is not very intuitive and I would be +1 for: Stuart. Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos) Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD 65AF ------------------------------------------------------------------------- Stuart Roebuck stuart.roebuck@adolos.com Systems Architect Java, XML, MacOS X, XP, etc. ADOLOS --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org