cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r231266 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/generation/ src/java/org/apache/cocoon/util/jxpath/ src/java/org/apache/cocoon/xml/ src/test/org/apache/cocoon/xml/
Date Thu, 11 Aug 2005 12:50:27 GMT
Sylvain Wallez wrote:
> Leszek Gawron wrote:
> 
>> Sylvain Wallez wrote:
> 
>>> As a side note, the refactored NamespacesTable I committed yesterday 
>>> is a killer tool to cleanly handle namespaces (see 
>>> RedundantNamespacesFilter). I plan to use it in some transformers 
>>> that "consume" namespaces such as i18n, xinclude, etc to ensure the 
>>> consumed namespaces never passes through the transformer. That will 
>>> make cleaner and smaller web pages!

If transformer consumes its namespace completely, it's way more efficient to 
simply filter out the namespace completely.

<snip/>


> I will also modify AbtractProcessingPipeline so that it dumps the full 
> chain of locations of the pipeline when an error occurs.
> 
> That will lead to stacktraces like:
> 
>  <jx:forEach> - 
> resource://org/apache/cocoon/forms/generation/jx-macros.xml:103:10
>  <ft:repeater> - context://foo/bar.xml:23:12

(hm, why it's context:// here - won't it usually resolve to file://?)

>  <map:serialize> - context://foo/sitemap.xmap:45:6
>  <map:transform> - context://foo/sitemap.xmap:44:6
>  <map:generate> - context://foo/sitemap.xmap:43:6
>  showForm() - resource://org/apache/cocoon/forms/flow/js/form.js:30:-1
>  do_stuff() - context://foo/flow.js:10:-1
>  <map:call> - context://foo/sitemap.xmap:20:6
>  <map:mount> - context://sitemap.xmap:20:10
> 
> Looks cool, eh?

It is probably good idea to add some more context info like:

   <map:transform type="bar"> - context://foo/sitemap.xmap:44:6
   <map:generate type="foo"> - context://foo/sitemap.xmap:43:6

Or may that is too much... Dunno.

Vadim

Mime
View raw message