cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2] <parameter> or <map:parameter> ?
Date Wed, 09 May 2001 21:16:00 GMT


On Wed, 9 May 2001, Donald Ball wrote:

> On Wed, 9 May 2001, Davanum Srinivas wrote:
>
> > +1. Donald, would you like to take a shot?
>
> well, i'll await the results of the discussion. berin had dissented
> slightly. also, how about other non-namespaced elements:
>
>    <map:transformer     name="xslt"
> src="org.apache.cocoon.transformation.TraxTransformer">
>     <compile-stylesheets map:value="true"/>
>     <use-store map:value="false"/>
>    </map:transformer>
>
>    <map:serializer name="wap"    mime-type="text/vnd.wap.wml"
> src="org.apache.cocoon.serialization.XMLSerializer">
>     <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
>
> <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
>    </map:serializer>
>
>   <map:selectors default="browser">
>    <map:selector name="browser"
> factory="org.apache.cocoon.selection.BrowserSelectorFactory">
>     <browser name="explorer" useragent="MSIE"/>
>     <browser name="pocketexplorer" useragent="MSPIE"/>
>
> any reason that all of these configuration elements don't belong in the
> map namespace?

Yes :)

IMHO they don't belong to the map namespace because they don't have a
meaning to the sitemap. The sitemap only passes them along to the
components as is either to configure or parameterize the component
(because the components can/should not read the sitemap).

Giacomo


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


Mime
View raw message