ok, right now i've done it. there is a difference now when moving from 2.0.X
to 2.1 in
resolving sources.
in 2.0.X you just needed to get the source say
Source source = resolver.resolve("http://yourdestination.com");
and then get the InputStream -> source.getInputStream();
in 2.1 you have to provide an extra XMLConsumer - or the sitemap component
that
handles the SAX stream. I found the solution in CIncludeTransformer. For
that reason
my resolver worked in the pipeline, because there has been a XMLConsumer -
the pipeline itself.
thanks Casten
- Michael
>
>
> > -----Original Message-----
> > From: Michael Gerzabek [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 24, 2002 11:11 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: cocoon:// protocol in actions not working
> >
> >
> > Yes, i'm using the resolver brought to me by the act method. is this the
> > right way or shall i lookup the SourceResolver.ROLE from the
> > ComponentManager?
>
> This is the right way.
>
> Carsten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
--
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w�hlen -
und tolle Preise absahnen! http://www.onlinestar.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]