forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Gathering info on location maps
Date Mon, 08 May 2006 13:54:57 GMT
El lun, 08-05-2006 a las 15:01 +0200, Ferdinand Soethe escribió:
> Thorsten Scherler wrote:
> 
> > Using "lm:project.images.myTabImage" does *only* work for linking in
> > xdocs (I assume - since I never tested such linking).
> 
> > It has to be either "lm://project.images.myTabImage" or
> > "{lm:project.images.myTabImage}" for development
> 
> I'm not sure what the difference of '//' means in location-map
> processing. Pls explain.

"lm://project.images.myTabImage" protocol/source factory [1]
"{lm:project.images.myTabImage}" input module [2]

see [1]:
 int protocolEnd = location.indexOf("://");
        if (protocolEnd == -1) {
            throw new MalformedURLException("URI does not contain '://' : "
                    + location);
        }

I implemented it with :// and not  :/ since relative matching of locations in lm is not supported.

HTH

[1]
http://svn.apache.org/viewcvs.cgi/forrest/trunk/main/java/org/apache/forrest/locationmap/source/impl/LocationmapSourceFactory.java?rev=355474&view=log

[2] http://cocoon.apache.org/2.1/userdocs/concepts/modules.html

-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Mime
View raw message