At 17:21 18/02/2002 +0000, you wrote:
At 5:05 pm +0100 18/2/02, Bert Van Kets wrote:
>SUCCESS!!

What was it that solved the problem?

Apparently the different file system.  I can't think of anything else since I try to keep the Linux and Win2K setups as similar as possible.


>I did the test on SuSE Linux 7.3 with Tomcat 4.0.1 and JDK 1.3.1_02.
>All tests work except test5.  The result5.xml file is not created.

this is the test that uses  XSLT to generate the page
what error are you getting?

There is no error.  The page says it "should have written a file called result5.xml.  Although when I go to the next step in the test (using the file as a source for XSLT) the file can't be found.
------------------------------------------------------------------------------------------------------------------------------
Cocoon 2 - Internal server error

type fatal
message Exception during processing of file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml
description org.apache.cocoon.ProcessingException: Exception during processing of file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml: org.apache.cocoon.ResourceNotFoundException: Resource not found file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml: java.io.FileNotFoundException: /usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml (No such file or directory)
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/mount/editor/result5
path-info
mount/editor/result5
------------------------------------------------------------------------------------------------------------------------------

As far as I can tell the stylesheet is not used in any way.  Only the test5.xml file is used (similar to the other tests).  I added another match in the sitemap above the test* match, specifically for test5, and tried the test again under Linux. 

------------------------------------------------------------------------------------------------------------------------------
                        <map:match pattern="test5">
                                <map:generate src=""docs/test5.xml"/>                                 <map:transform type="filewriter"/> <!-- invoke the filewriter -->
                                <map:transform src=""stylesheets/make-page.xsl">                                         <map:parameter name="view-source" value="docs/test5.xml"/>
                                </map:transform>
                                <map:serialize type="html"/>                                                            
                        </map:match>

-----------------------------------------------------------------------------------------------------------------------------------
Sadly enough the result5.xml file is not created, although the make-file stylesheet is used.  Of course I can't open the file when it isn't written to disk.  Does it make a difference if the xfwt tag is used in an xml file or an xslt?  The other tests run fine under Linux.

-----------------------------------------------------------------------------------------------------------------------------------
Cocoon 2 - Internal server error

type fatal
message Exception during processing of file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml
description org.apache.cocoon.ProcessingException: Exception during processing of file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml: org.apache.cocoon.ResourceNotFoundException: Resource not found file:/usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml: java.io.FileNotFoundException: /usr/local/jakarta-tomcat-4.0.1/webapps/cocoon/mount/editor/docs/result5.xml (No such file or directory)
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/mount/editor/result5
path-info
mount/editor/result5
---------------------------------------------------------------------------------------------------------------------------------------------------------


I'm looking forward to checking out the editor.  Let me know when there's more info.
Thanks,
Bert --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to