Thanks Vadim.

In case anyone wonders why on earth I changed the name of the xmap 
files: its so I can tell them apart at a glance in my text editor :-)

Vadim Gritsenko wrote:

> Simon Price wrote:
> 
>> I'm using tomcat 4.0.1 with java 1.3.1
>>
>> Simon Price wrote:
>>
>>> I'm moving an app from 2.03 to 2.1-dev (cvs head, 21 Aug 02) and the 
>>> sitemap engine no longer seems to support alternative names for the 
>>> .xmap file.
>>>
>>> The following fragment used to work fine in 2.03 but only works if I 
>>> rename sitemap_tal.xmap as sitemap.xmap. (ie. the engine appears to 
>>> always look for a file called sitemap.xmap irrespective of what the 
>>> src attribute says - although it does look in the right directory).
>>>
>>>     <map:match pattern="tal/**">
>>>       <map:mount check-reload="yes" reload-method="synchron" 
>>> src="tal/sitemap_tal.xmap" uri-prefix="tal/"/>
>>>     </map:match>
>>>
>>> Is this a deliberate feature change or a bug?
>>
>>
> 
> It's a bug.
> 
> Vadim
> 
> 
>>> Simon
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


-- 

-------------------------------------------------------------------
Simon Price
Institute for Learning and Research Technology
University of Bristol
8-10 Berkeley Square
Bristol BS8 1HH
United Kingdom

Direct: +44 (0)7071 226 720
Office: +44 (0)117 928 7193
Fax: +44 (0)117 928 7112
[EMAIL PROTECTED]
http://www.ilrt.bristol.ac.uk


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to