You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2005/12/12 02:35:47 UTC
svn commit: r356096 - /myfaces/impl/trunk/tld/misc/resolve_entities.xsl
Author: skitching
Date: Sun Dec 11 17:35:44 2005
New Revision: 356096
URL: http://svn.apache.org/viewcvs?rev=356096&view=rev
Log:
Add comment only.
Modified:
myfaces/impl/trunk/tld/misc/resolve_entities.xsl
Modified: myfaces/impl/trunk/tld/misc/resolve_entities.xsl
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/tld/misc/resolve_entities.xsl?rev=356096&r1=356095&r2=356096&view=diff
==============================================================================
--- myfaces/impl/trunk/tld/misc/resolve_entities.xsl (original)
+++ myfaces/impl/trunk/tld/misc/resolve_entities.xsl Sun Dec 11 17:35:44 2005
@@ -38,7 +38,14 @@
<xsl:copy />
</xsl:template>
- <!-- WARNING: this is dangerous. Handle with care -->
+ <!--
+ - Discard the text content of a node where the text content
+ - is nothing but whitespace. When this rule isn't matched
+ - the default xml processing applies, which is to copy the
+ - text directly to the output.
+ -
+ - WARNING: this is dangerous. Handle with care
+ -->
<xsl:template match="text()[normalize-space(.)='']"/>
</xsl:stylesheet>