I was going to write that, too. Since I don't know which components have to be defined (some should be automatically inherited, I think) and which can be omitted, I just edited the sitemap that comes with Cocoon. I think it's easier to strip parts away and see what happens once you get it working.
Also, even though I wanted to mount my own subsystem too, I see now that this is not always a good solution, and I'm mounting my sitemaps in the automount directory (Cocoon/mount) now. The advantage is that the systems I'm creating will be portable, I'll be able to mount them without any additional work (no changes in the Cocoon-sitemap at all!) on ANY standard Cocoon installation. You might wanna consider that as well. Regards krut -----Message d'origine----- De: oystein hauge [mailto:[EMAIL PROTECTED]] Date: mercredi, 3. avril 2002 11:26 À: [EMAIL PROTECTED] Objet: RE: problem vith sub_sitemap Other pages in cocoon still works? If yes, your problem is in the sub-sitemap (g:\site\sitemap.xmap), not the mounting in the main sitemap. There are several typo's in the sitemap. IIRC, some components also has to be specified. Use a sample sitemap and edit it instead. Øystein > > <?xml version="1.0"?> > <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> > </map:pipelines> > <map:pipeline> > <map:handle-errors> > <map:transform src="stylesheets/system/error2html.xsl"/> > <map:serialize status-code="500"/> > <map:handle-errors> > <map:match pattern="ctwig/basic01-01.xml"> > <map:generate type="file" src="documents/basic01-01.xml"/> > <map:transform type="xslt" src="stylesheets/basic01-01.xsl"/> > <map:serialize/> > </map:match> > </map:pipeline> > </map:pipelines> > </map:sitemap> > > And when i cold : > http://localhost:8080/cocoon/transfo/ctwig/basic01-01.xml > I have the folowing message : > org.apache.cocoon.components.language.LanguageException: > Error compiling > sitemap_xmap: Line 73, column 25: ';' expected. Line > 224, column 8: Invalid expression statement. Line 224, column 17: ';' > expected. Line 329, column 12: ')' expected. Line 378, column 17: > Identifier expected. Line 492, column 50: ')' expected. Line > 497, column > 38: ')' expected. Line 503, column 49: ')' expected. Line 0, column > 0: 8 errors > > And i cann anderstand. > > Cann somebody help me ? > --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>