]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed test for abstract.notitle.enabled. The way I had it, it was
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 24 Jul 2007 06:50:31 +0000 (06:50 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 24 Jul 2007 06:50:31 +0000 (06:50 +0000)
having an effect opposite to its documented effect; that is, it
was generating an abstract title only if abstract.notitle.enabled
was not zero; but it should actually generate the title only if
abstract.notitle.enabled *is* zero. Thanks to Marie Sauvage for
testing and reporting this very quickly after 1.73.0 was released.

xsl/html/titlepage.xsl

index da9361fc966f245c06c4ab88772d32ab4061000c..de477ab2397b30e6d351749f1d2ae69ce15f8578 100644 (file)
   <div>
     <xsl:apply-templates select="." mode="class.attribute"/>
     <xsl:call-template name="anchor"/>
-    <xsl:if test="not ($abstract.notitle.enabled = 0)">
+    <xsl:if test="$abstract.notitle.enabled = 0">
       <xsl:call-template name="formal.object.heading">
         <xsl:with-param name="title">
           <xsl:apply-templates select="." mode="title.markup"/>