cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier P. Fumagalli" <p...@apache.org>
Subject Re: Cocoon 2.0: proposed battleplan
Date Sat, 15 Apr 2000 03:15:42 GMT
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
<mailto:pier@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------

Mime
View raw message