Hello, I've faced with more then mysterious problem: Cocoon (under Apache Tomcat/4.0) generates error message in server console and in logs if my css file is more then 2KB (>2048b). I have default sitemap where I just removed all the pipeline and inserted the following:
<map:pipelines> <map:pipeline> <map:match pattern="*.css"> <map:read src="{1}.css" mime-type="text/css"/> </map:match> <map:match pattern="*.html"> <map:read src="{1}.html" mime-type="text/html"/> </map:match> <map:handle-errors> <map:transform src="stylesheets/system/error2html.xsl"/> <map:serialize status-code="500"/> </map:handle-errors> </map:pipeline> </map:pipelines> My test html is: <HTML> <HEAD> <title>Test</title> <LINK rel='stylesheet' type='text/css' href="mycss.css"/> </HEAD> <body> <form name="fff" method="post"> This is a test of reference to CSS. </form> </body> </HTML> After tests I've became to the mycss.css file which contains first line with code body {background-color: white} and other lines with spaces only - up to 2049 bytes of the file size. If I remove one space then the error disappears. Moreover, if I place some old css renamed as mycss.css (more than 3KB) instead of described version of mycss.css then error message disappear, BUT if I change the modification date of this css then error becomes again. I've tryed to change the default server port to 8090, but result is the same. What a magic? I don't understand. It seems that this is cache concerned. I've tryed to remove cocoon's working directory - it did not help. On other workstation it works without problems. What should I check in my configuration? Has somebody any idea? Thank you for response. Roman --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>