forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Cocoon brokenness (Re: [HEADS UP] Cocoon CLI performance up 50%!)
Date Sat, 29 Mar 2003 12:50:07 GMT
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

Mime
View raw message