Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 87588 invoked from network); 4 Jun 2005 19:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2005 19:38:56 -0000 Received: (qmail 80298 invoked by uid 500); 4 Jun 2005 19:38:55 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 80072 invoked by uid 500); 4 Jun 2005 19:38:54 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 80057 invoked by uid 99); 4 Jun 2005 19:38:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ns3.wkwyw.net (HELO ns3.wkwyw.net) (217.199.181.91) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 04 Jun 2005 12:38:54 -0700 Received: (qmail 3049 invoked from network); 4 Jun 2005 19:38:57 -0000 Received: from 82-69-78-226.dsl.in-addr.zen.co.uk (HELO ?192.168.0.4?) (82.69.78.226) by ns3.wkwyw.net with SMTP; 4 Jun 2005 19:38:57 -0000 Message-ID: <42A20348.8070306@apache.org> Date: Sat, 04 Jun 2005 20:38:48 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: locationmap - not finishing the pipeline References: <4998884405060406551c7ab2ee@mail.gmail.com> <42A1B905.9060308@apache.org> <49988844050604080827924f8a@mail.gmail.com> In-Reply-To: <49988844050604080827924f8a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tim Williams wrote: > On 6/4/05, Ross Gardler wrote: > >>Tim Williams wrote: >> ... >>>Now the problems: 1) it strips the contents from demo.xml and is >>>essentially just a shell xml file. >> >>Well that isn't very helpful, I suppose we better fix that ;-) >> >>I have no idea how this can be happening. Are you able to confirm that >>the file is being read from slide correctly? > > > Well, it appears that the hello2document.xsl in the local sitemap.xmap > is the culprit. Probably should have figured something so simple. Blast, sorry that should not have been in the sitemap for that matcher. Sorry, this probably took you a while to figure out. >>>2) it doesn't apply any skinning >>>to it -- it just returns the xml. >> >>Is your request to Forrest for demo.html or demo.xml? > > > I've got maps set up for both since I don't really understand *how* > this is really working yet, I'm doing some serious trial and error and > covering all bases. > So for each, here's what i get: > > demo.html - what i've learned (thanks) is now the equivalent of > body-demo.html, seems it stops processing there and never applies the > skin. I'm getting no errors and the core log is of no help. > I wouldn't expect that to work since you have added a matcher that will prevent the existing matchers in Forrest from processing the request for *.html. More below... > demo.xml - the unprocessed, straight xml from SVN's freshsite. OK this is good. If you remove the matcher you created for *.html then the Forrest matcher for such patterns should be used instead, this one does all the skinning. In other words, it should "just work" If you haven't done so already I recommend you read http://forrest.apache.org/docs/sitemap-ref.html this may help you understand how this happens. Of course, it may not since it is a technical doc that assumes a level of knowledge. It would be useful to know how effective you feel this doc is. Ross