XSP is not available in Cocooon 2.2 - see: http://marc.info/?l=xml-cocoon-users&m=120349702914226&w=2 where the developers suggest you migrate your code to use java objects + flowscript + template.
Alternatively, stick to Cocoon 2.1 unless you have some other critical reasons to use 2.2 >>> On 2008/06/03 at 07:09, in message <[EMAIL PROTECTED]>, jantje <[EMAIL >>> PROTECTED]> wrote: I can't use XSP in cocoon2.2 There is almost no documentation available. Where can I find information? Thanks jantje wrote: > > Hi there, > > For cocoon 2.2, with maven, i have this pipeline in my experimental > sitemap-file: > > <map:sitemap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0 > http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd" > xmlns:map="http://apache.org/cocoon/sitemap/1.0"> > > <map:flow language="javascript"/> > <map:pipelines> > <map:pipeline> > <map:match pattern="myFourthPipeline"> > <map:generate type="serverpages" src="fourth.xsp"/> > <map:transform src="myXml2PdfFile.xslt" type="xslt"/> > <map:serialize type="xml"/> > </map:match> > </map:pipelines> > </map:sitemap> > > On starting 'mvn jetty-run', I get this error: > > javax.servlet.ServletException: > org.apache.avalon.framework.configuration.ConfigurationException: Type > 'serverpages' does not exist for 'map:generate' > > Is there something missing in my sitemap? Or is there something i have to > do with maven? F.i. mvn compile??? > > Greetings and thanks for helping! > -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
