Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 35002 invoked from network); 13 Oct 2003 12:27:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Oct 2003 12:27:23 -0000 Received: (qmail 82604 invoked by uid 500); 13 Oct 2003 12:27:19 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 82562 invoked by uid 500); 13 Oct 2003 12:27:19 -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 82543 invoked from network); 13 Oct 2003 12:27:18 -0000 Received: from unknown (HELO grunt22.ihug.com.au) (203.109.249.142) by daedalus.apache.org with SMTP; 13 Oct 2003 12:27:18 -0000 Received: from p936-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.142.173] by grunt22.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1A91n9-0000jZ-00; Mon, 13 Oct 2003 22:27:18 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 1A91qn-00017P-00; Mon, 13 Oct 2003 22:31:02 +1000 Date: Mon, 13 Oct 2003 22:31:01 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org, nicolaken@apache.org Subject: SourceConf (Re: Removed xdoc copying) Message-ID: <20031013123101.GA2827@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org, nicolaken@apache.org References: <20031012125132.93799.qmail@minotaur.apache.org> <20031012132917.GA9715@expresso.localdomain> <20031013085517.GA1345@expresso.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i 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 On Mon, Oct 13, 2003 at 11:07:27AM +0200, Nicola Ken Barozzi wrote: > Jeff Turner wrote: > > >On Sun, Oct 12, 2003 at 05:17:31PM +0200, Nicola Ken Barozzi wrote: > ... > >>In my sourcemap proposal, this is exactly what happens. The sourcemap > >>tells me the real place of the file when I request a virtual place, by > >>also using resource exists. I'll commit it as soon as it's finished > >>(still working on the syntax as the current one still sucks). > > > >So how does it happen? ResourceExists actions, or ResourceExists input > >modules? > > The sourcemap is a descriptor for an inputmodule. This inputmodule gets > a "virtual" source location and resolves the real location. > > So from the sitemap, what it sees is just an inputmodule that gives it > the real source to use. So taking images as an example, which may be in src/documentation/resources/images or $FORREST/context/resources/images. What does the resources.xmap entry look like? It is currently: Perhaps: which requires nesting variable resolution? --Jeff ... > -- > Nicola Ken Barozzi nicolaken@apache.org > - verba volant, scripta manent - > (discussions get forgotten, just code remains) > --------------------------------------------------------------------- > >