vgritsenko 01/07/23 16:35:17
Modified: src/org/apache/cocoon/components/language/markup/xsp/java
Tag: cocoon_20_branch xsp.xsl
Log:
Fix bug 2390
Revision Changes Path
No revision
No revision
1.2.2.3 +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.2.2.2
retrieving revision 1.2.2.3
diff -u -r1.2.2.2 -r1.2.2.3
--- xsp.xsl 2001/07/07 19:07:54 1.2.2.2
+++ xsp.xsl 2001/07/23 23:35:17 1.2.2.3
@@ -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.2.2.2 $ $Date: 2001/07/07 19:07:54 $
+ * @version CVS $Revision: 1.2.2.3 $ $Date: 2001/07/23 23:35:17 $
-->
<!-- 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]