Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 21351 invoked from network); 15 Apr 2000 03:14:47 -0000 Received: from dnai-216-15-97-206.cust.dnai.com (HELO kali.betaversion.org) (216.15.97.206) by locus.apache.org with SMTP; 15 Apr 2000 03:14:47 -0000 Received: from apache.org([192.168.1.54]) (1831 bytes) by kali.betaversion.org via smail with P:esmtp/R:internet/T:smtp (sender: ) id for ; Fri, 14 Apr 2000 20:14:57 -0700 (PDT) (Smail-3.2.0.106 1999-Mar-31 #3 built 1999-Sep-21) Message-ID: <38F7DEDE.CA16B90A@apache.org> Date: Fri, 14 Apr 2000 20:15:42 -0700 From: "Pier P. Fumagalli" X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Cocoon 2.0: proposed battleplan References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Donald Ball wrote: > > On Fri, 14 Apr 2000, Pier P. Fumagalli wrote: > > > Donald Ball wrote: > > > > > > > Depending on the XPATH expression you might (or might not) have to build > > > > the DOM... > > > > > > Yeah, I sent you a post in another email about this. Just in case you > > > don't manage to catch it... I think we need to add a method to the cocoon2 > > > parser interface so that I can get a DOM object instead of SAX events if > > > necessary. Okay? > > > > You just need to use those classes in org.apache.cocoon.xml.util... > > All those DOM*.java files are building and SAXizing DOMs... > > Yeah, but why would I want to build a DOM from SAX events when the parser > could just pass me a DOM object directly? Because, doing it before, or doing it after, it's the same thing.... We won't loose that much performance on that, and it surely eases the whole architecture (having only one way to pass XML from one place to another!) Pier -- ---------------------------------------------------------------------- pier: stable structure erected over water to allow docking of seacraft ----------------------------------------------------------------------