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/07/20 11:47:18 UTC
DO NOT REPLY [Bug 11001] New: -
ResorceReader and internal redirection fails sometimes
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=11001>.
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=11001
ResorceReader and internal redirection fails sometimes
Summary: ResorceReader and internal redirection fails sometimes
Product: Cocoon 2
Version: 2.0.3
Platform: Other
OS/Version: Windows 9x
Status: NEW
Severity: Normal
Priority: Other
Component: core
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: kicke@web.de
Configuration:
win98, tomcat 4.0.4, cocoon 2.0.3 (binary dist), jdk 1.3.1_02
Problem:
If I use an internal redirection in conjunction with ResourceReader
the output of the reader is sometimes empty (or null). Example:
<map:match pattern="hello.html">
<map:generate src="hello-page.xml" />
<map:transform src="simple-page2html.xsl"/>
<map:serialize/>
</map:match>
<map:match pattern="hello1.html">
<map:read mime-type="text/html" src="cocoon:/hello.html"/>
</map:match>
The only difference for the working and the non-working examples
i can see are the file dates of the source files.
A testcase is attached.
Workaround:
Use generate and serialize instead of read.
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org