cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Bialecki" <ar...@digitalfairway.com>
Subject RE: {0} sitemap parameter in regexp matcher
Date Tue, 30 Apr 2002 22:33:21 GMT

> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: Tuesday, April 30, 2002 6:05 PM

>> but this doesn't (regexp):
>> 
>>    <map:match type="regexp"
>>      pattern="product/category_(view|edit)\.xml">
>>      <map:act type="update-entity">
>>        <map:generate type="serverpages" src="{../0}"/>
>>      </map:act>
>>      <map:transform type="xinclude"/> 
>>      <map:transform src="product/category.xsl"/>
>>      <map:serialize/>
>>    </map:match>

> If so desired (and agreed), it would be trivial to add 0 to
> AbstractRegexpMatcher.
> 
> after line 127 add:
>    map.put("0", match);
> 

This would make it more consistent with wildcard matcher and
help poor saps like me with move from C1 to C2.
Maybe this should be a general rule for all matchers that
parameter {0} is allways the whole matched pattern.

What is the best way to get this fixed? Bugzilla?

Thanks,

Artur...


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message