$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: fmhess_at_[hidden]
Date: 2007-10-09 16:19:06
Author: fmhess
Date: 2007-10-09 16:19:05 EDT (Tue, 09 Oct 2007)
New Revision: 39856
URL: http://svn.boost.org/trac/boost/changeset/39856
Log:
Fixed problem with empty <variablelist/> element (which is invalid
docbook) being produced in enum reference.
Text files modified: 
   sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl |     8 +++++---                                
   1 files changed, 5 insertions(+), 3 deletions(-)
Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl	(original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl	2007-10-09 16:19:05 EDT (Tue, 09 Oct 2007)
@@ -1272,9 +1272,11 @@
             <xsl:apply-templates select="para" mode="annotation"/>
           </xsl:if>
           <xsl:apply-templates select="description"/>
-          <variablelist spacing="compact">
-            <xsl:apply-templates select="enumvalue" mode="reference"/>
-          </variablelist>
+          <xsl:if test="enumvalue/purpose | enumvalue/description">
+            <variablelist spacing="compact">
+              <xsl:apply-templates select="enumvalue" mode="reference"/>
+            </variablelist>
+          </xsl:if>
         </xsl:with-param>
 
       </xsl:call-template>