> -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Sent: 30 September 2002 14:51 > To: [EMAIL PROTECTED] > Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed > sitemap 'inheritance' - anyone seen this and have any ideas? > > > Christopher Watson wrote: > > >Hello > > > >I'm having problems with a sub-sitemap > > > >I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with > >4.1.10 or 4.1.12 > > > >The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same > >problem. > >It's a problem of sitemap 'inheritance' as far as I can tell. > > > >The error I get from the example URL above is as follows .. > > > >Description:org.apache.avalon.framework.configuration.Configurati > onException > >: Type 'wildcard' is not defined for 'match' at > >file:/F:/jakarta-tomcat/webapps/cocoon203/sub/sitemap.xmap:21:26 > > > >True, the wildcard matcher component is not declared in the > subsitemap, but > >used to 'inherit' it from the 'root' sitemap > >at file:/F:/jakarta-tomcat/webapps/cocoon203/sitemap.xmap in the above > >example. > > > >If I declare the lost wildcard matcher component in the > subsitemap then it > >works, or at least, I get the next error caused by the failed > 'inheritance' > > > >So I guess I have a workaround in declaring everything in the subsitemap, > >but this kind of defeats the object !? > > > >I've just done a clean install on tomcat 4.0.1 (works) and > 4.1.10 (doesn't) > >to check my sanity on this! > >It's weird that the version of Tomcat should create this different > >behaviour. > >Does anyone have any idea what's going on? > > > > Seems you have switched to interpreted sitemap which (IIRC) in 2.0.3 > release had some bugs.
Vadim, well spotted ! You are as ever, a brick! I reset the compiled sitemap and it worked ... and I thought I'd eliminated that from my enquiries. I had too many machines and versions hanging around ... > These were fixed later on, in 2.0.4-dev. I'd rather use the interpreted sitemap. It seems to improve reload dramatically! Could you tell me what files I would have to update, and how to get them? I looked at http://cvs.apache.org/viewcvs.cgi but don't see a 2.0.4-dev branch ... How would I get 2.0.4-dev ? Thanks Again Christopher > > Vadim > > > >Christopher > > > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>