forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: svn commit: r294994 - in /forrest/trunk/main/webapp: locationmap-search.xml locationmap.xml search.xmap
Date Wed, 05 Oct 2005 18:24:25 GMT
Ross Gardler wrote:
>> +    <match pattern="transform.lucene-search.xdoc">
>> +      <location 
>> src="{forrest:stylesheets}/search/search2document.xsl" />
>>      </match>
> 
> 
> For patterns such as this one (i.e. transform.something.tosomething) we 
> need not have individual entries in the sitemap. There is a catchall 
> entry of the form:
> 
> <match pattern="transform.*.*">
>   <location src="{forrest:stylesheets}/search/{1}2{2}.xsl" />
> </match>

ooops, correction...

The existing pattern does not point to that location.

We would need to add a new locator:

<match pattern="transform-search.*.*">
   <location src="{forrest:stylesheets}/search/{1}2{2}.xsl" />
</match>

> This will match the above *if* we rename the file to 
> lucene-search2xdoc.xsl or the pattern to transform.lucene-search.document
> 
> I prefer the former. This reduces the number of entries that need to be 
> managed in locationmap quite considerably when we consider all xmaps.
> 
> What do people think?


Mime
View raw message