cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2]: Questioning the SAXConnector concept
Date Tue, 15 May 2001 20:11:17 GMT


On Tue, 15 May 2001, Berin Loritsch wrote:

> Giacomo Pati wrote:
>
> > > I know that this issue has discussed several times, but as
> > > far as I remember there was no consense right now on this topic.
> > > If you all say: NO, we want the SAXConnectors as they are right now,
> > > ok no problem and I will shut up with this and we can make the
> > > beta even faster....
> >
> > The problem with the normal Transformers are that they cannot
> > include Cocoon specific resources because they don't get access to
> > the sitemap object in charge. There are several ways to achieve that
> > but all of them will open up the sitemap object to *all* components.
>
>
> Giacomo, what about making a sitemap:// URLHandler for the URLFactory.

This was my first intension. But see below...

> It would assemble the pipeline for you.  That way we can use XInclude
> Transformer, and include sitemap resources.

See my reply to Carstens mail. In short how will the URLFactory
interface look like. In fact the sitemap: protocol will use a
ContentHandler to push SAX event to where the other protocols returns
more or less a Stream where you can read from.

Giacomo

>
> <xinclude:include href="sitemap://advertisement/ad-64.xml"/>
>
> That way, you can access the sitemap resources wherever you need to,
> BUT only one component is exposed (or made a friend of the sitemap
> in C++ parlance).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message