You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Jeff Turner <je...@apache.org> on 2003/03/29 13:50:07 UTC

Cocoon brokenness (Re: [HEADS UP] Cocoon CLI performance up 50%!)

On Fri, Mar 28, 2003 at 05:50:42PM +0100, Nicola Ken Barozzi wrote:
...
> Someone wants to try it on Forrest and see the speed increase? ;-)

That first requires upgrading the Cocoon jars, and Cocoon is broken again.

1) I have a test pipeline:

<map:match pattern="test">
  <map:generate src="cocoon:/community/howto/xmlform/howto-xmlform.xml"/>
  <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
  <map:serialize type="xml"/>
</map:match>

Cocoon reports:

DEBUG   (2003-03-29) 23:36.01:561   [core.modules.xml] (/forrest/test)
Thread-49/XMLFileModule: Error using source cocoon:/linkmap
Could not get sitemap source cocoon://linkmap
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: linkmap

2) I change the generator to read a regular file (not cocoon:..):

<map:match pattern="test">
  <map:generate src="test.xml"/>
  <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
  <map:serialize type="xml"/>
</map:match>

Link rewriting works.

3) I change the generator back to the cocoon: URL (pipeline in 1), and link
rewriting now works :|  Something very weird going on.


--Jeff