You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/10/02 23:15:27 UTC

DO NOT REPLY [Bug 13208] - Tutorial does not work well

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13208>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13208

Tutorial does not work well





------- Additional Comments From joerg.heinicke@gmx.de  2002-10-02 21:15 -------
I think that's not possible. In the sitemap there is this snippet:

<map:match pattern="resources/**.js">
  <map:read src="resource/styles/{1}.js" mime-type="application/x-javascript"/>
</map:match>

This means you have a reader. A reader can't cause an infinite loop in the
sitemap, because it reads the src from file system.

The bug is another one: as you can see it reads "resource/styles/{1}.js", not
"resources/styles/{1}.js" (missing 's' on resources), so the file is not found
(FileNotFoundException in core.log). This bug exists in 2.0.3 and HEAD (file
/xml-cocoon2/src/webapp/samples/tutorial/sitemap.xmap not touched since 6 months).

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