cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: [C2][StyleBook][PATCH] "build docs" needs StyleBook with new javax.xml.transform API of Xalan2J.
Date Wed, 15 Nov 2000 12:18:17 GMT

--- Robin Green <greenrd@hotmail.com> wrote:
> Giacomo Pati <pati_giacomo@yahoo.com> wrote:
> >--- Davanum Srinivas <dims@yahoo.com> wrote:
> > > Pier,
> > >
> > > Thanks. Do you have any thoughts on how we could
> upgrade/update/use
> > > Cocoon's Command line
> > > functionality to generate the docs? Any Pointers? Any previous
> > > discussions?
> >
> >The problem IMHO is that we need content aggregation in C2. Stefano
> has
> >posted a proposal how it can be achieved but we haven't reached a
> >consensus (see thread with "content aggregation" in the subject in
> >October). The suggestions don't satisfy me because there is still a
> >byte stream between the sitemap engine and the content aggregator
> which
> >has to be reparsed. The solution I'd like to see is that you can
> create
> >a URL with the cocoon: protocoll but load a ContentHandler to that
> URL
> >to get the SAX stream directly (instead of the serialized one).
> >
> 
> Do you mean, instead of opening a connection to that URL, reading in
> XML as 
> text and re-parsing it, you'd pass the ContentHandler to that URL
> (put an 
> object reference in a request header or something?) and then it would
> fire 
> SAX events to that ContentHandler? That sounds like a good idea. Any 
> objections?

More or less that way. I have no clear idea how to implement. The only
thing is that I'd like to prevent reparsing. Handing in  a
ContentHandler somehow to the sitemap engine an feeding it the SAX
events seems to me the only doable way. Any other suggestions would be
really appreciated.

Giacomo
> 
> 
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at 
> http://profiles.msn.com.
> 


=====


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

Mime
View raw message