Thanks to Luca,Olivier and Vadim. I have now solved the problem!
The problem was the Motorola MADK I am using to voice email a message was throwing HTTP 404 error because my XSP was not being compiled by cocoon for some errors. I had thought the cause of HTTP 404 could be that cocoon was not receiving the request due to the sitemap entries setting. Regards, Bobo. --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > > From: Olivier Rossel > [mailto:[EMAIL PROTECTED]] > > > > Mamadou Bobo Sylla wrote: > > > > >I have cleared the sub-directories of work, > started > > >Tomcat but the error persists. > > > > > >By the way both voice-email.xml and > > >voice-exam-result.xml receive parameters. > > > > > >Any other suggestion? > > > > > I wonder if the serverpages generator accepts XML > files as input. > > > > Isn't it supposed to be XSP files (with xsp:page > as the root element > and > > the xsp namespace declared)? > > XSP is XML. With ns1:page root element and > ns1='http://apache.org/xsp'. > Regarding file extension - Cocoon is not Windows; it > does not care about > file extensions. > > > > Could the file generator be better? > > Only if input is not XSP. > > > > What you can do also is to make the same pipeline > for both files. > > Here is the syntax: > > > > <map:match pattern="sic/xsp/*.xml"> > > <map:generate type="serverpages" > > src="sic/xsp/{1}.xml"/> > > <map:transform type="xslt" > > src="sic/{1}.xsl"/> > > <map:serialize type="xml"/> > > </map:match> > > That's good advice. > > Vadim > > > > > Try that with the "serverpages" generator and the > "file" generator. > > > > > --------------------------------------------------------------------- > 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]> > __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ --------------------------------------------------------------------- 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]>