Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 29242 invoked from network); 4 Jun 2005 15:09:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2005 15:09:37 -0000 Received: (qmail 3949 invoked by uid 500); 4 Jun 2005 15:09:36 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 3750 invoked by uid 500); 4 Jun 2005 15:09:35 -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 3734 invoked by uid 99); 4 Jun 2005 15:09:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of williamstw@gmail.com designates 64.233.184.199 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Jun 2005 08:09:34 -0700 Received: by wproxy.gmail.com with SMTP id 36so1978149wra for ; Sat, 04 Jun 2005 08:09:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lbJuJWUZnlY+FnSENQHvG4kHUaWngI29WxthEi1JEP3mKp3FHrzetEhZEeA6T8IUTfejnaty3CRYbwjIYvluvIORMewJBthGer7BA2oPOH3qH9sng9AWa64DdOwSOAy9hEpSDZAIFtlZLh8vJ1TdV+HeQWgsYvlrtGE6J227www= Received: by 10.54.56.50 with SMTP id e50mr1210410wra; Sat, 04 Jun 2005 08:08:41 -0700 (PDT) Received: by 10.54.28.70 with HTTP; Sat, 4 Jun 2005 08:08:41 -0700 (PDT) Message-ID: <49988844050604080827924f8a@mail.gmail.com> Date: Sat, 4 Jun 2005 11:08:41 -0400 From: Tim Williams Reply-To: Tim Williams To: dev@forrest.apache.org Subject: Re: locationmap - not finishing the pipeline In-Reply-To: <42A1B905.9060308@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4998884405060406551c7ab2ee@mail.gmail.com> <42A1B905.9060308@apache.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/4/05, Ross Gardler wrote: > Tim Williams wrote: > > The second link in the locationmap wouldn't work because for some > > reason it's trying to use the "file src" defined in forrest-core.xconf > > and append it to the project-content-dir. This is strange because it > > apparently finds locationmap.xml with no problem for simple link > > re-writing (the first sample). I don't really know where to start but > > for now I made the kludge even worse by hardcoding the absolute path > > to locationmap.xml. This gives me something to play with for now > > anyway. >=20 > Yes, I noticed that problem (which is why there is a warning on that > section of the page saying it doesn't work yet). I'm glad you found a > temporary solution. The longer term solution (I think) is to pass the > path to the locationmap to the input-module from the sitemap rather than > within xconf. I'll look into this next week. Good, I got lost trying to use references to sitemap.xmap as an example last night -- ended up having to revert everything. > > Anyway, so I can successfully take the /locationmap/demo.xml and > > return a real demo.xml from 127.0.0.1:8080/slide/files/demo.xml (my > > slide repo). Everythings pretty much hard coded for now mind you. >=20 > Fantastic. That was to be my next test (with Daisy rather than Slide, > but same principle), glad to hear it works, at least to an extent >=20 > > Now the problems: 1) it strips the contents from demo.xml and is > > essentially just a shell xml file. >=20 > Well that isn't very helpful, I suppose we better fix that ;-) >=20 > 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. I commented the transform line out and it's at least giving me my document back. And yes, now I'm able to confirm that it is coming from Slide (and after the other change the fresh-site in SVN). See below for my next problem... > > 2) it doesn't apply any skinning > > to it -- it just returns the xml. >=20 > 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. demo.xml - the unprocessed, straight xml from SVN's freshsite. > Could you modify your code to retrieve that page rather than a slide one > and put a patch against http://issues.apache.org/jira/browse/FOR-200 I'm not sure what you mean, I've taken what you had and (minus that one config thing) it just worked. Obviously, I've manipulated the location a bit but nothing else really. I haven't really *done* anything yet:) --tim