]> granicus.if.org Git - docbook-dsssl/commitdiff
Can you say infinite loop? I knew you could.
authorNorman Walsh <ndw@nwalsh.com>
Sun, 11 Sep 2005 22:53:19 +0000 (22:53 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 11 Sep 2005 22:53:19 +0000 (22:53 +0000)
xsl/html/table.xsl

index 00f6503876b1b56a528f68dabc120dba259c3772..37d0d25b761530f13402524350148a75db1fd909 100644 (file)
 <!-- ==================================================================== -->
 
 <xsl:template match="tgroup" name="tgroup">
-  <xsl:if test="not(@cols)">
+  <xsl:if test="not(@cols) or @cols = ''">
     <xsl:message terminate="yes">
       <xsl:text>Error: CALS tables must specify the number of columns.</xsl:text>
     </xsl:message>