cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hahn Kurt (CHA)" <kurt.h...@etat.ge.ch>
Subject RE: problem vith sub_sitemap
Date Wed, 03 Apr 2002 09:03:46 GMT
Hmmm. I'm a newbie, but I managed to mount a subsystem, though I put in the
Cocoon-directory, but that shouldn't change much.
In my configuration, I didn't point the src="" to the sitemap, but only to
the directory which contains the sitemap, like:
  <map:pipeline>
   <map:match pattern="Kurt/**">
    <map:mount uri-prefix="Kurt" src="Kurt/" check-reload="yes"/>   
   </map:match>
  </map:pipeline>

So why don't you try that: src="///./site/" instead of
src="///./site/sitemap.xmap"

Regards
Kurt

-----Message d'origine-----
De: Olivier GUCKERT [mailto:Olivier.Guckert@inria.fr]
Date: mercredi, 3. avril 2002 10:57
À: cocoon-users@xml.apache.org
Objet: problem vith sub_sitemap


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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message