This bug was created as part of recent refactoring;
I hope I fixed it. At least, my sub-sitemap with aggreagtion works now.
Please try latest CVS.

Thanks,
Vadim

> -----Original Message-----
> From: Mats Noren [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 7:10 AM
> To: [EMAIL PROTECTED]
> Subject: Contentaggregation in subsitemaps
> 
> 
> Hello,
> I'm having problems using the sitemap contentaggregation within a
> subsitemap.
> 
> Here is my sample sitemap code (shamelessly stolen from the sample file)
> 
>       <map:pipelines>
>               <map:pipeline>
>                       <!--map:pipeline-->
>                       <map:match pattern="app/*">
>                               <map:aggregate element="root">
>                                       <map:part
> src="cocoon:/test/sidebar"/>
>                                       <map:part src="cocoon:/doc/{1}"/>
>                               </map:aggregate>
>                               <map:serialize/>
>                       </map:match>
>                       <map:handle-errors>
>                               <map:transform
> src="stylesheets/error2html.xsl"/>
>                               <map:serialize status-code="500"/>
>                       </map:handle-errors>
>               </map:pipeline>
>               <map:pipeline internal-only="true">
>                       <map:match pattern="test/sidebar">
>                               <map:generate src="menu/menu.xml"/>
>                               <map:serialize/>
>                       </map:match>
>                       <map:match pattern="doc/*.html">
>                               <map:generate src="pages/*.xml"/>
>                               <map:serialize/>
>                       </map:match>
>               </map:pipeline>
>       </map:pipelines>
> 
> None of the resources are found. And by looking at the log I that C2 is
> trying to lookup the files relative to the cocoon webapp catalog.
> Isn't the src attribute in a generator relative to the current subsitemap?
> What is the correct syntax in my case?
> Should I use the context url in some form?
> 
> Thanks in advance,
> Mats
> 
> ps.
> I'm using C2.1-dev from 20010815 on resin2.0.0
> ds.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to