> 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]>