forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdinand Soethe <ferdin...@apache.org>
Subject Re: svn commit: r535593 - /forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
Date Sun, 06 May 2007 10:28:53 GMT
If nobody has any objections I'd apply this fix to .8 and head as well
next week.

Best regards,
Ferdinand Soethe

ferdinand@apache.org wrote:
> Author: ferdinand
> Date: Sun May  6 03:24:22 2007
> New Revision: 535593
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=535593
> Log:
> Attempt to fix disappearance of processing-instructions.
> 
> Modified:
>     forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
> 
> Modified: forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
> URL: http://svn.apache.org/viewvc/forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl?view=diff&rev=535593&r1=535592&r2=535593
> ==============================================================================
> --- forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
(original)
> +++ forrest/branches/forrest_07_branch/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
Sun May  6 03:24:22 2007
> @@ -20,9 +20,14 @@
>    <!-- 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:apply-templates select="@*|*|text()|comment()"/>
>      </xsl:copy>
>    </xsl:template>
> +    
> +    <!-- If processed by rule below processing instructions disappaer -->
> +    <xsl:template match="processing-instruction()">
> +        <xsl:copy-of select="."/>
> +    </xsl:template>  
>      
>    <xsl:template match="*">
>        <!-- remove element prefix (if any) -->
> 
> 
> 
> 


Mime
View raw message