From dev-return-56497-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Tue Mar 02 05:24:39 2004 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 41095 invoked from network); 2 Mar 2004 05:24:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 05:24:38 -0000 Received: (qmail 30754 invoked by uid 500); 2 Mar 2004 05:24:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 30333 invoked by uid 500); 2 Mar 2004 05:24:14 -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 30311 invoked from network); 2 Mar 2004 05:24:14 -0000 Received: from unknown (HELO ajgdg.com) (69.20.9.152) by daedalus.apache.org with SMTP; 2 Mar 2004 05:24:14 -0000 Received: (qmail 18652 invoked from network); 2 Mar 2004 05:24:24 -0000 Received: from unknown (HELO server1.agtrz.com) (127.0.0.1) by ajgdg.com with SMTP; 2 Mar 2004 05:24:24 -0000 Received: by server1.agtrz.com (tmda-sendmail, from uid 502); Tue, 02 Mar 2004 00:24:24 -0500 (EST) Date: Tue, 2 Mar 2004 00:24:24 -0500 To: Stefano Mazzocchi Cc: dev@cocoon.apache.org Subject: Re: Momento and Cocoon Message-ID: <20040302052424.GA18449@maribor.izzy.net> References: <000e01c3f9f0$bcbe9620$1e01a8c0@WRPO> <4039D2FC.7080608@upaya.co.uk> <403A1968.2090704@nada.kth.se> <20040226210408.GB19198@maribor.izzy.net> <4043962C.8010902@gmx.de> <4043F8F8.2070804@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4043F8F8.2070804@apache.org> User-Agent: Mutt/1.4.1i X-Mailer: Mutt http://www.mutt.org/ X-Editor: Vim 6.1 http://www.vim.org/ X-Location: Faubourg St. John, New Orleans, Louisiana, United States of America From: Alan Mail-Followup-To: stefano@apache.org, dev@cocoon.apache.org X-Delivery-Agent: TMDA/0.84 (Tim Tam) 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 * Stefano Mazzocchi [2004-03-02 03:01]: > Joerg Heinicke wrote: > > >On 26.02.2004 22:04, Alan wrote: > > > >>>I would guess that Momento mainly would be accessed through the > >>>document function in XSLT and XQuery. Saxon use JAXP 1.1 as external > >>>API to the transformerand the URLs in the document functions are > >>>resolved by using an implementation of > >>>javax.xml.transform.URIResolver that is provided by the TraxTransformer. > >> > >> > >> > >>The above is somewhat confusing for me. Momento does support the > >> JAXP API. XUpdate is implemented as a SAX filter. It seems like > >> Momento would work nicely in as a source, sink, or filter for > >> SAX events. > >> I've imagined that a pipeline would start with a Momento > >> document and an XSLT trasform or XQuery query. > >> > >> Something along these lines: > >> > >> >> xslt="index-document.xslt"/> > >> > >> > >> > >> > >> (It is easier for me to express myself as a Cocoon user.) > > > > > >It was already mentioned and I only want to repeat it here: Momento > >should not be implemented as generator, but as source. > > I strongly disagree. > > XQuery is simply too complex to be passed as one URL. You should have > something like > > Yes. I choose Saxon to implement XQuery. I'm finding that XSLT is just as good a query language, that's why I keep using XSLT in my generator examples. Not mixing concerns, it is data store + query, which strikes me as resonable parameters to a generator. > I don't know if momento is good enough for what we need, but if we were > to have an xquery processor, a generator is the way to go, not a source. What do you need from Momento? -- Alan / alan@engrm.com / http://engrm.com/ aim/yim: alanengrm - icq: 228631855 - msn: alanengrm@hotmail.com