Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 60382 invoked from network); 3 Sep 2003 23:11:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Sep 2003 23:11:14 -0000 Received: (qmail 48884 invoked by uid 500); 3 Sep 2003 23:10:14 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 48824 invoked by uid 500); 3 Sep 2003 23:10:13 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 48768 invoked from network); 3 Sep 2003 23:10:12 -0000 Received: from unknown (HELO correo.che-che.com) (80.34.215.206) by daedalus.apache.org with SMTP; 3 Sep 2003 23:10:12 -0000 Received: from che-che.com (carolo [192.168.1.5]) by correo.che-che.com (Postfix) with ESMTP id 04B1AC7B7 for ; Thu, 4 Sep 2003 01:10:14 +0200 (CEST) Message-ID: <3F5674D6.8070201@che-che.com> Date: Thu, 04 Sep 2003 01:10:14 +0200 From: Juan Jose Pablos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030311 Debian/1.2.1-10 X-Accept-Language: es, en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: Re: PATCH (document-v11 file not displaying in webapp mode) References: <000701c36ffb$f9256dc0$7501a8c0@christoph1> In-Reply-To: <000701c36ffb$f9256dc0$7501a8c0@christoph1> 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 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Christoph, I think that you download an old version of forrest. We in the process of releasing a new version very soon. Can you hold this one until we get that out? Cheers, Cheche Christoph Lofi wrote: > Hi. > > I don't know if I am too stupid or this is really a bug, but when I > download forrest latest source version (or binary, doesn't mind), create > a new forrest folder ("forrest seed") and deploy it as webapp (either by > "forrest run" or in tomcat with "forrest webapp"), then all pages > generated out of document-v11 xml files won't display (only white, empty > screen). All other format work fine (ihtml, ehtml, faq, ...) > Using offline generation, there is no problem. > > After looking at the sitemap.xmap generated by forrest, I found and > corrected the bug (if it was one...). > > Problem is, I think, that in the pipline-parts matching "body-**/*.xml" > and "body-**.xml", the part where document xmls are used as source does > not work correctly. > So I surrounded these code fragments with a resouce-exist action and > replaced the {1} variables with {../1} (as it is done fore the other > file formats like ihtml, ehtml, ...) > After that, everything seems to work fine. > > (sorry, I don't have somthing which creates a diff -u output, so I hope > this will do...) > Comparing: sitemap.xmap > !> old version > > 357 > 358 value="content/xdocs/{1}/{2}.xml"/> > 359 src="content/xdocs/{..1}/{..2}.xml"/> > !> > 367 value="{..1}/{..2}.xml"/> > !> value="{1}/{2}.xml" /> > 369 > 411 > 412 value="content/xdocs/{1}.xml"/> > 413 > !> > 421 value="{../1}.xml"/> > !> > 423 > > > So, I hope this will help someone out there (well, I am quite happy with > my bugfix...). > > Greetings, > Christoph