You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Crossley <cr...@indexgeo.com.au> on 2001/08/15 19:04:19 UTC

[patch] contrib.xml - new sections CVS overview and dev procedure

I have added three new sections to contrib.xml to
help contributers to be more productive:
* CVS Usage Precis
 - an overview of how to get started with CVS
* Procedure for Raising Development Issues
 - when to use Bugzilla and when to post to cocoon-dev
* Contribution Notes and Tips
 - a list of dot-points

While there i noticed that the element <connect> was
being used to link to other documents. However, that
element is not rendered by the stylesheet. So I changed
them all to <link> and now everything is OK.

The patch is attached.

cheers, David Crossley

AW: Contentaggregation in subsitemaps

Posted by Carsten Ziegeler <cz...@sundn.de>.
> Vadim Gritsenko wrote:
> 
> That's Ok,
> may be we just need some more samples in our webapp.
> Some aspects of cocoon does not covered by current webapp.
> 
Yes, that's a good idea. We could then use these examples
as simple test cases.

Carsten

> Vadim
> 
> > -----Original Message-----
> > From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> > Sent: Friday, August 17, 2001 10:29 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: AW: Contentaggregation in subsitemaps
> > 
> > 
> > Thanks Vadim for fixing this.
> > I didn't test subsitemap-aggregation. Sorry for this!
> > 
> > Carsten
> > 
> > > Vadim Gritsenko wrote:
> > >
> > > 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:mats@spectral.se]
> > > > Sent: Friday, August 17, 2001 7:10 AM
> > > > To: cocoon-dev@xml.apache.org
> > > > 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: cocoon-dev-unsubscribe@xml.apache.org
> > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Contentaggregation in subsitemaps

Posted by Vadim Gritsenko <vg...@hns.com>.
That's Ok,
may be we just need some more samples in our webapp.
Some aspects of cocoon does not covered by current webapp.

Vadim

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> Sent: Friday, August 17, 2001 10:29 AM
> To: cocoon-dev@xml.apache.org
> Subject: AW: Contentaggregation in subsitemaps
> 
> 
> Thanks Vadim for fixing this.
> I didn't test subsitemap-aggregation. Sorry for this!
> 
> Carsten
> 
> > Vadim Gritsenko wrote:
> >
> > 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:mats@spectral.se]
> > > Sent: Friday, August 17, 2001 7:10 AM
> > > To: cocoon-dev@xml.apache.org
> > > 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: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: Contentaggregation in subsitemaps

Posted by Carsten Ziegeler <cz...@sundn.de>.
Thanks Vadim for fixing this.
I didn't test subsitemap-aggregation. Sorry for this!

Carsten

> Vadim Gritsenko wrote:
>
> 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:mats@spectral.se]
> > Sent: Friday, August 17, 2001 7:10 AM
> > To: cocoon-dev@xml.apache.org
> > 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: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Contentaggregation in subsitemaps

Posted by Vadim Gritsenko <vg...@hns.com>.
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:mats@spectral.se]
> Sent: Friday, August 17, 2001 7:10 AM
> To: cocoon-dev@xml.apache.org
> 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: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Contentaggregation in subsitemaps

Posted by Mats Noren <ma...@spectral.se>.
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: [patch] contrib.xml - new sections CVS overview and dev procedure

Posted by David Crossley <cr...@indexgeo.com.au>.
Thanks Carsten, i did cvs update of our local
repository and all is well.
David

Carsten wrote:
> Thanks David for your work.
> I applied your patch - please cross check.
> Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: [patch] contrib.xml - new sections CVS overview and dev procedure

Posted by Carsten Ziegeler <cz...@sundn.de>.
Thanks David for your work.

I applied your patch - please cross check.

Carsten

> -----Ursprüngliche Nachricht-----
> Von: David Crossley [mailto:crossley@indexgeo.com.au]
> Gesendet: Mittwoch, 15. August 2001 19:04
> An: cocoon-dev@xml.apache.org
> Betreff: [patch] contrib.xml - new sections CVS overview and dev
> procedure
>
>
> I have added three new sections to contrib.xml to
> help contributers to be more productive:
> * CVS Usage Precis
>  - an overview of how to get started with CVS
> * Procedure for Raising Development Issues
>  - when to use Bugzilla and when to post to cocoon-dev
> * Contribution Notes and Tips
>  - a list of dot-points
>
> While there i noticed that the element <connect> was
> being used to link to other documents. However, that
> element is not rendered by the stylesheet. So I changed
> them all to <link> and now everything is OK.
>
> The patch is attached.
>
> cheers, David Crossley
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org