Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 85354 invoked by uid 500); 10 Jul 2003 11:09:25 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 85221 invoked from network); 10 Jul 2003 11:09:24 -0000 Received: from unknown (HELO sati.virbus.de) (145.253.246.81) by daedalus.apache.org with SMTP; 10 Jul 2003 11:09:24 -0000 Received: from sati.virbus.de (localhost [127.0.0.1]) by localhost (SMTP Server) with ESMTP id 00675166A26 for ; Thu, 10 Jul 2003 13:09:24 +0200 (MEST) Received: from gmx.de (saraswati.virbus.de [212.144.5.199]) by sati.virbus.de (SMTP Server) with ESMTP id AF9311669DE for ; Thu, 10 Jul 2003 13:09:23 +0200 (MEST) Message-ID: <3F0D4A3E.9030104@gmx.de> Date: Thu, 10 Jul 2003 13:13:02 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de-de, de, en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: DirectoryGenerator source-oriented refactoring References: <3F0D2CA9.2020005@apache.org> In-Reply-To: <3F0D2CA9.2020005@apache.org> 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 Nice job. A more generic solution is always useful. Unfortunately your implementations do not base on the latest *DG stuff. E.g. I fixed the Caching key in the DG and changed the xpath handling from xpointer-ish (as it was written in the docu; using #) to an extra parameter 'xpath' (Why let it look like XPointer/XInclude, if it is not?). Joerg Gianugo Rabellino wrote: > > I just added to scratchpad a refactored implementation of > DirectoryGenerator (TraversableGenerator) that doesn't work with just > files but with any TraversableSource. Together with it, a refactoring > was done on XPathDirectory, which is now XPathTraversable, so that even > XPath queries can be done on any TraversableSource (while we were at it, > we added namespace support, missing on the previous implementation). > > Would you guys think that this implementation might supersede the > current DirectoryGenerator stuff, maybe by providing a migration path? > If so, I'd gladly produce some docs, confs and samples once it's proven > stable. > > Also, since we're not talking about directory and files anymore, I used > the more generic terms of collection and resource, changing the > namespace too to "http://apache.org/cocoon/collection/1.0". I don't > remember if a vote was required for new namespace additions, but I'd > like to hear at least your opinion on that. :-) -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de