cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Melhem <micha...@fztig938.bank.dresdner.net>
Subject Re: pipeline-hint patch bugzilla [Bug 12726]
Date Tue, 17 Sep 2002 09:40:51 GMT
Hi Cocooners,

Here is some information regarding PATCH Bugzilla [Bug 12726].

This patch implements the proposed pipeline-hints syntax.
  A hints attribute has one or more comma separated hints
  hints-attr :: hint [ ',' hint ]*
  A hint is a name and an optional (string) value
  If there is no value, it is considered as boolean string "true"
  hint :: literal [ '=' litteral ]
  literal :: <a character string where the chars ',' and '=' are not
  permitted within in the literal>

The above language allows for this to be possible:
<map:transform src=".../simple-samples2html.xsl"
type="xalan" hint="profile={on}, caching-point=true"/>

A ConfigurationException is thrown if there is a problem
"parsing" the pipeline-hint.

You will notice I have moved the pipeline-hint implementation out of
DefaultTreeBuilder and into the SitemapLangauge. This moves
pipeline-hints implementation more in line with cocoon-views
implementation, and reduces overhead associated with checking each node
if its of certain (pipeline-hintable ;-) type.

Support for pipeline-hints at the component level (ie in the components
section of the sitemap.xmap) is yet to be implemented.

Best Regards,
Michael Melhem


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


Mime
View raw message