cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: Treeprocessor the default engine?
Date Wed, 03 Apr 2002 09:47:12 GMT
At 8:43 pm +0100 28/3/02, Sylvain Wallez wrote:
>Jeremy Quinn wrote:
>
>>At 2:18 pm +0100 27/3/02, Sylvain Wallez wrote:
>>
>>>Torsten Curdt wrote:
>>>
>>>>On Wed, 27 Mar 2002, Nicola Ken Barozzi wrote:
>>>>
>>>>>TreeProcessor will be the default engine in the next release.
>>>>>I would like to see it set as default starting right away.
>>>>>
>>>>>What do you guys think?

<snip/>

>>Sorry, there was still the little issue of this working in Compiled, but
>>not Interpreted:
>>
>><map:aggregate element="root">
>>	<map:part type="request" element="req"/>
>>	<map:part src="docs{target}" element="original"/>
>></map:aggregate>
>>
>>TreeProcessor complains about the missing src parameter.
>>
>>regards Jeremy
>>
>
>Jeremy, does this really work with the compiled engine ?
>
>Consider the following extract from sitemap.xsl :
>  <xsl:template match="map:part">
>    <xsl:param name="ca"/>
>    <xsl:if test="not(@src)">
>      <xsl:call-template name="error">
>        <xsl:with-param name="message">src attribute missing in
>aggregates part element</xsl:with-param>
>      </xsl:call-template>
>    </xsl:if
>
>...seems like the treeprocessor is right when it complains about a
>missing "src" ;-)

I guess you are right.

I would like it to work on both then ;)
It allows you to write simpler sitemaps, saving an extra jump to lightspeed
(sorry, that should have been, internal pipeline ;)

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>

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


Mime
View raw message