You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by SAXESS - Hussayn Dabbous <da...@saxess.com> on 2003/02/20 12:59:54 UTC

BeginnerSimpleWebappOrganisation strange evolution ...

Hy;

I noticed a slight modification in

http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation

which from my understanding has introduced two severe errors!
As i don't exactly know, why these changes have been made,
i want to ask if i missunderstood something. Here is, what i
find suspect:

1.) Advanced Issue: separating your work folder from cocoon
     ...
     <map:pipeline>
       <map:match pattern="work/**">
         <map:mount check-reload="yes"
                    reload-method="synchron"
                    src="work/sitemap.xmap"
                    uri-prefix="work"/>
      </map:match>
     </map:pipeline>


     This snippet i found in the doc. In my eyes this does NOT
     what is explained in the doc. From my understanding the
     source must be declared as absolute path as follows:

                    src="/work/sitemap.xmap"

     Why has the leading slash been deleted in the doc?


2.) Advanced issue: Setting up a generic mount point outside of Cocoon
     I found a similar modification:

                    src="work/{1}/sitemap.xmap"

     Shouldn't it be:

                    src="/work/{1}/sitemap.xmap"


I post this email only, because i don't understand, why these mods have 
been made. From the history i can see, these mods have been made by two
different persons... hmm...


-- 
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax:     +49-221-56011-20
E-Mail:  dabbous@saxess.com


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>