forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: r155933 - in forrest/trunk/plugins/simplified-docbook: resources/stylesheets/sdocbook2document.xsl status.xml
Date Wed, 02 Mar 2005 17:37:29 GMT
Author: brondsem
Date: Wed Mar  2 09:37:26 2005
New Revision: 155933

URL: http://svn.apache.org/viewcvs?view=rev&rev=155933
Log:
fix FOR-449, but it seems sdockbook is broken anyway

Modified:
    forrest/trunk/plugins/simplified-docbook/resources/stylesheets/sdocbook2document.xsl
    forrest/trunk/plugins/simplified-docbook/status.xml

Modified: forrest/trunk/plugins/simplified-docbook/resources/stylesheets/sdocbook2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/simplified-docbook/resources/stylesheets/sdocbook2document.xsl?view=diff&r1=155932&r2=155933
==============================================================================
--- forrest/trunk/plugins/simplified-docbook/resources/stylesheets/sdocbook2document.xsl (original)
+++ forrest/trunk/plugins/simplified-docbook/resources/stylesheets/sdocbook2document.xsl Wed
Mar  2 09:37:26 2005
@@ -528,7 +528,7 @@
       <xsl:template match="ulink">
             <xsl:element name="link">
                   <xsl:attribute name="href"><xsl:choose><xsl:when test="@uri"><xsl:value-of
select="@uri"/></xsl:when><xsl:otherwise><xsl:value-of select="@url"/></xsl:otherwise></xsl:choose></xsl:attribute>
-                  <xsl:apply-templates/>
+                  <xsl:choose><xsl:when test="not(node()[not(self::comment())])"><xsl:choose><xsl:when
test="@uri"><xsl:value-of select="@uri"/></xsl:when><xsl:otherwise><xsl:value-of
select="@url"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:apply-templates/></xsl:otherwise></xsl:choose>
             </xsl:element>
       </xsl:template>
       <xsl:template match="footnote">

Modified: forrest/trunk/plugins/simplified-docbook/status.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/simplified-docbook/status.xml?view=diff&r1=155932&r2=155933
==============================================================================
--- forrest/trunk/plugins/simplified-docbook/status.xml (original)
+++ forrest/trunk/plugins/simplified-docbook/status.xml Wed Mar  2 09:37:26 2005
@@ -24,6 +24,9 @@
 
   <changes>
     <release version="0.1" date="unreleased">
+      <action dev="DB" type="add" context="code" due-to="Aaron Isotton" fixes-bug="FOR-449">
+        Better handling of link text.
+      </action>
       <action dev="RDG" type="add" context="code">
         Created the initial plugin by copying map snippets and
         samples from Forrest Core.



Mime
View raw message