cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
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 10:06:32 GMT
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!
> So this means the output page won't have the nasty:
> <html xmlns:fi="" 
> xmlns:jx="" 
> xmlns:cinclude="" 
> xmlns:dir="">


> titanium hero plate again ! :)

LOL! Thanks :-)

> OT: What stage are cocoon stack traces in 2.1.x branch? I lack this 
> very much in trunk.

I'm working on it as we speak, adding a description to locations so that 
we can associate e.g. an element name or flowscript function name to a 

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> - 
  <ft:repeater> - context://foo/bar.xml:23:12
  <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?

I plan to finish this in 2.1.x tomorrow and then port to trunk.


Sylvain Wallez                        Anyware Technologies
Apache Software Foundation Member     Research & Technology Director

View raw message