vgritsenko    01/07/23 16:33:45

  Modified:    src/org/apache/cocoon/components/language/markup/xsp/java
                        xsp.xsl
  Log:
  Fix bug 2390
  
  Revision  Changes    Path
  1.5       +4 -1      
xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl
  
  Index: xsp.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- xsp.xsl   2001/07/07 11:43:20     1.4
  +++ xsp.xsl   2001/07/23 23:33:45     1.5
  @@ -12,7 +12,7 @@
   <!--
    * @author <a href="mailto:[EMAIL PROTECTED]>Ricardo Rocha</a>
    * @author <a href="[EMAIL PROTECTED]">Sylvain Wallez</a>
  - * @version CVS $Revision: 1.4 $ $Date: 2001/07/07 11:43:20 $
  + * @version CVS $Revision: 1.5 $ $Date: 2001/07/23 23:33:45 $
   -->
   
   <!-- XSP Core logicsheet for the Java language -->
  @@ -311,6 +311,9 @@
                preserve its Java type
           -->
           (<xsl:value-of select="."/>)
  +      </xsl:when>
  +      <xsl:when test="string-length(.) = 0">
  +        <!-- Do nothing -->
         </xsl:when>
         <xsl:otherwise>
           <!-- Output the value as elements or character data depending on its type 
-->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to