cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2] Problem with SubSitemaps and XIncludeSAXConnector
Date Fri, 27 Apr 2001 20:04:12 GMT


On Fri, 27 Apr 2001, Berin Loritsch wrote:

> Davanum Srinivas wrote:
> >
> > Berin,
> >
> > I looked everywhere, checked with Giacomo also....No luck. So think we will have
to add my
> > previous hack. (pass current Sitemap all the way till it reaches SAXConnector).
> > But we should also organize Sitemap's into a parent-children hierarchy so that we
can navigate the
> > hierarchy programatically. This will also allow us to specify sitemaps relative
to each other.
> > What do you think? The hack will be needed anyway to enable the SAXConnector to
know what the
> > "Current" sitemap is. We could try this after Beta1.
>
> Yeah.  Isn't the sitemap supposed to continue to invoke subsitemaps when the requested
> URI matches?  I mean I thought that was what happened, but that doesn't seem to be the
> case.

The request URI you have at hand anywhere in the code is the one
coresponding to the "current" sitemap. A URI requested from the request
object might have stipped prefixes off and is not the absolute URI from
the servlets point of view.

Giacomo
>
> Anyhoo, if you can redo that previous hack soon, I can get my stuff done for the office
;).
>
> >
> > Thanks,
> > dims
> >
> > --- Berin Loritsch <bloritsch@apache.org> wrote:
> > > I get the Exception at the bottom of this email when I try to include something
> > > specified in a subsitemap.  The question I have is how does a sitemap allow
you
> > > to incorporate EventPipelines that are declared in subsitemaps?  Can there
be
> > > a second method available to the sitemap specification that returns an EventPipeline?
> > > At least to internal components?
> > >
> > > If not, then we have to resort to the hack that Dims had at the beginning....
> > > Any help?
> > >
> > > ERROR   34782   [cocoon  ] (Thread-10): Error selecting sitemap
> > > org.apache.cocoon.ProcessingException: Attempted to process incomplete pipeline.
> > >
> > >       at
> > > org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:236)
> > >
> > >       at
> > >
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:136)
> > >
> > >       at
> > >
> > org.apache.cocoon.components.saxconnector.XIncludeSAXConnector.processXIncludeElement(XIncludeSAXConnector.java:188)
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> > =====
> > Davanum Srinivas, JNI-FAQ Manager
> > http://www.jGuru.com/faq/JNI
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great prices
> > http://auctions.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > 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
>
>
>
>


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


Mime
View raw message