You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mark Lundquist <ml...@comcast.net> on 2004/12/30 22:10:36 UTC
Trouble w/ cocoon.processPipelineTo (2.1.6)
Hi,
I'm having a bit of trouble here...
I have flowscript invoked from a subsitemap, which does this:
cocoon.processPipelineTo ("foo/bar", ...);
...which should be resolved w.r.t. the current sitemap (i.e., the
subsitemap), but it's not — it's being resolved relative to the root
sitemap.
The docs say it should be relative to the root sitemap if the URI
starts w/ "/", otherwise to the current sitemap. Looking at
OAC.components.flow.util.PipelineUtil.processToStream(), it sure looks
like it ought to work this way! So I have no clue what is going on.
If I prepend '/' to my URI, I get the same result as without.
If I replace the URI with one that I know will hit my <mount> matcher
in the root sitemap, _then_ everything works correctly. I can use this
as a workaround for now.
So... any ideas?
Thx-a-lot,
Mark