Hello
I have a problem with sub-sitemap.
I want to have a directory for my apps. This directory is : G:\site.
So, i add a pipeline in sitemap.xmap, look like this :
<map:pipeline>
<map:match pattern="transfo/**">
<map:mount uri-prefix="transfo"
src="///./site/sitemap.xmap"
reload-method="synchron"
check-reload="yes"/>
</map:match>
</map:pipeline>
And i create a sub-sitemal in G:\site, look like this :
<?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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Rodrigues Luc a écrit : > > Hi, > > Sorry for my poor english langage. > > <?xml version="1.0"?> > <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> > </map:pipelines> > ---^-----Your error is here. type: > <map:pipelines> > at place. > > I hope that help you. I thing my english langage is not better... Thank you, i had seen this problem and it worrks fine : thanks to all Olivier --------------------------------------------------------------------- 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: <co...@xml.apache.org> For additional commands, e-mail: <co...@xml.apache.org>
Hi,
Sorry for my poor english langage.
<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
</map:pipelines>
---^-----Your error is here. type:
<map:pipelines>
at place.
I hope that help you.
Olivier GUCKERT wrote:
> Hello
>
> I have a problem with sub-sitemap.
>
> I want to have a directory for my apps. This directory is : G:\site.
> So, i add a pipeline in sitemap.xmap, look like this :
>
> <map:pipeline>
> <map:match pattern="transfo/**">
> <map:mount uri-prefix="transfo"
> src="///./site/sitemap.xmap"
> reload-method="synchron"
> check-reload="yes"/>
> </map:match>
> </map:pipeline>
>
> And i create a sub-sitemal in G:\site, look like this :
>
> <?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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
--
Luc {;-) \\\\\////
rodrigues.luc@wanadoo.fr / ^ - \
( (o) (o) )
_________________________________oOOO_____(_)_____OOOo_____
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>