From 77b70f76d5f33d494d21f999c2f6180631948334 Mon Sep 17 00:00:00 2001 From: Bob Stayton <bobs@sagehill.net> Date: Fri, 1 Dec 2006 07:57:40 +0000 Subject: [PATCH] Fixed bug #1603790: no space between package and classname. --- xsl/fo/synop.xsl | 14 +++++++------- xsl/html/synop.xsl | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/xsl/fo/synop.xsl b/xsl/fo/synop.xsl index 00367597e..cdae8b9ea 100644 --- a/xsl/fo/synop.xsl +++ b/xsl/fo/synop.xsl @@ -376,11 +376,11 @@ <xsl:apply-templates mode="java"/> </xsl:template> -<xsl:template match="modifier" mode="java"> +<xsl:template match="modifier|package" mode="java"> <xsl:apply-templates mode="java"/> - <xsl:if test="following-sibling::*"> - <xsl:text> </xsl:text> - </xsl:if> + <xsl:if test="following-sibling::*"> + <xsl:text> </xsl:text> + </xsl:if> </xsl:template> <xsl:template match="classname" mode="java"> @@ -544,7 +544,7 @@ <xsl:apply-templates mode="cpp"/> </xsl:template> -<xsl:template match="modifier" mode="cpp"> +<xsl:template match="modifier|package" mode="cpp"> <xsl:apply-templates mode="cpp"/> <xsl:if test="following-sibling::*"> <xsl:text> </xsl:text> @@ -701,7 +701,7 @@ <xsl:apply-templates mode="idl"/> </xsl:template> -<xsl:template match="modifier" mode="idl"> +<xsl:template match="modifier|package" mode="idl"> <xsl:apply-templates mode="idl"/> <xsl:if test="following-sibling::*"> <xsl:text> </xsl:text> @@ -847,7 +847,7 @@ <xsl:apply-templates mode="perl"/> </xsl:template> -<xsl:template match="modifier" mode="perl"> +<xsl:template match="modifier|package" mode="perl"> <xsl:apply-templates mode="perl"/> <xsl:if test="following-sibling::*"> <xsl:text> </xsl:text> diff --git a/xsl/html/synop.xsl b/xsl/html/synop.xsl index 5c3eb487e..198bcecea 100644 --- a/xsl/html/synop.xsl +++ b/xsl/html/synop.xsl @@ -842,7 +842,7 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* </span> </xsl:template> -<xsl:template match="modifier" mode="java"> +<xsl:template match="modifier|package" mode="java"> <span> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:apply-templates mode="java"/> @@ -1049,7 +1049,7 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* </span> </xsl:template> -<xsl:template match="modifier" mode="cpp"> +<xsl:template match="modifier|package" mode="cpp"> <span> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:apply-templates mode="cpp"/> @@ -1244,7 +1244,7 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* </span> </xsl:template> -<xsl:template match="modifier" mode="idl"> +<xsl:template match="modifier|package" mode="idl"> <span> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:apply-templates mode="idl"/> @@ -1426,7 +1426,7 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* </span> </xsl:template> -<xsl:template match="modifier" mode="perl"> +<xsl:template match="modifier|package" mode="perl"> <span> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:apply-templates mode="perl"/> -- 2.40.0