forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: [views] xsl:comment in templates
Date Fri, 02 Sep 2005 07:56:39 GMT
Diwaker Gupta wrote:
> Alright, so I've isolated the bug to 
> skins/common/xslt/html/strip_namespaces.xsl
> 
> Commenting it out brings back the comments.
> 
> A comment in sitemap.xmap says it was introduced due to a bug in Cocoon:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=35348
> 
> I couldn't find any new information on that web page.

That was added as a quick fix just before our last
release to remove extraneous i18n namespaces.

> I haven't played around with i18n, so I don't know what the initial problem 
> was. But presumably we can fix strip_namespaces to leave the comments 
> untouched.
> 
> Now that we know where/why the bug is, hopefully someone can find a smarter 
> way to fix it :-)

It sounds like the "copy-over" is missing the xml comments.
Look at the other stylesheets, some import copy-over.xsl
Some have a explcit default template. Should be easy to fix.

-David

Mime
View raw message