joerg       2004/03/13 08:29:15

  Modified:    tools/src cforms-repeater-syntax.xsl
  Log:
  circumvent a Xalan bug while handling empty comments
  
  Revision  Changes    Path
  1.2       +7 -0      cocoon-2.1/tools/src/cforms-repeater-syntax.xsl
  
  Index: cforms-repeater-syntax.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/cforms-repeater-syntax.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cforms-repeater-syntax.xsl        13 Mar 2004 03:35:07 -0000      1.1
  +++ cforms-repeater-syntax.xsl        13 Mar 2004 16:29:15 -0000      1.2
  @@ -8,6 +8,13 @@
     </xsl:copy>
   </xsl:template>
   
  +<xsl:template match="comment()">
  +  <!-- circumvent a Xalan bug while handling empty comments -->
  +  <xsl:if test="normalize-space()">
  +    <xsl:copy/>
  +  </xsl:if>
  +</xsl:template>
  +
   <xsl:template match="fb:repeater">
     <xsl:copy>
       <xsl:apply-templates select="@*[not(starts-with(name(), 'unique-'))]"/>
  
  
  

Reply via email to