Oliver,

what Kurt said is correct, in addition, I'd change the src="///./site/" to
src="file:///g:/site/"

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 11:04 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: problem vith sub_sitemap
>
>
> 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:[EMAIL PROTECTED]]
> Date: mercredi, 3. avril 2002 10:57
> À: [EMAIL PROTECTED]
> 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: <[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/faqs.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/faqs.html>

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

Reply via email to