You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by di...@apache.org on 2005/09/06 08:26:22 UTC

svn commit: r278925 - /forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl

Author: diwaker
Date: Mon Sep  5 23:26:21 2005
New Revision: 278925

URL: http://svn.apache.org/viewcvs?rev=278925&view=rev
Log:
Fixes FOR-555


Modified:
    forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl

Modified: forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl?rev=278925&r1=278924&r2=278925&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl Mon Sep  5 23:26:21 2005
@@ -16,6 +16,12 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- Fixes FOR-555. This might not be the best solution though, but it sure works -->
+  <xsl:template match="comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
     <xsl:template match="*">
       <!-- remove element prefix (if any) -->
       <xsl:element name="{local-name()}">