cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: Distinction of factory and normal Matcher/Selector
Date Mon, 21 May 2001 13:46:45 GMT


giacomo a écrit :
> 
> Is there a need to distinguish in the sitemap CodeFactory classes from
> "normal" classes? Now we can write
> 
>    <map:matcher name="..." src="my.own.Matcher"/>
> or
>    <map:matcher name="..." factory="my.own.MatcherFactory"/>
> 
> Because the sitemap.xsl is able to determine the implemented interface
> of its own (and doesn't need a hint by using different attribute) I
> don't see any further need to have the factory attribute.
> 
> Should I remove the factory attribute?
> 
> Giacomo
> 
+1. Remove all that can confuse the user or break consistency (what if
someone uses 'src' with a factory ?) !
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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


Mime
View raw message