cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/reading ResourceReader.java
Date Wed, 04 Feb 2004 14:53:39 GMT
Vadim Gritsenko wrote:
> >>Why not map:parameter here for consistency sake, like in:
> >>    <map:matcher name="mount-table" 
> >>src="org.apache.cocoon.matching.MountTableMatcher">
> >>      <map:parameter name="ignore-missing-tables" value="true"/>
> >>    </map:matcher>
> >>    
> >>
> >
> >
> >This would be the first component that uses the sitemap namespace
> >for the configuration.
> >  
> >
> 
> Ummm... Why matcher can use map:parameter and reader can not?
> 
>From what I see in the code of the MountTableMatcher, a 
<parameter name="" value=""/> works there as well.

Looking at the code of Avalon, where a Configuration object is
converted into a Parameters object, it seems that you can use any
namespace, so even a <foo:parameter name="" value="" xmlns:foo="foo"/>
would work.

Carsten

Mime
View raw message