]> granicus.if.org Git - docbook-dsssl/commitdiff
found a table which causes the dsssl stylesheets to say:
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Fri, 7 Feb 2003 18:56:14 +0000 (18:56 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Fri, 7 Feb 2003 18:56:14 +0000 (18:56 +0000)
  /usr/bin/jade:../dsssl/html/dbtable.dsl:122:44:E: division by zero

testdocs/tests/informaltable.015.xml [new file with mode: 0644]

diff --git a/testdocs/tests/informaltable.015.xml b/testdocs/tests/informaltable.015.xml
new file mode 100644 (file)
index 0000000..8759ade
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.015</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Adam</firstname> <surname>Di Carlo</surname>
+        <affiliation><address><email>adam@onshored.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+  <para>Two column table, but entries only in one column.</para>
+
+<informaltable pgwide="1">
+        <tgroup cols="3" colsep="1" rowsep="1" align="left">
+          <colspec colname="cat" colwidth="2in"/>
+          <colspec colname="issue" colwidth="2in"/>
+          <colspec colname="response" colwidth="4in*"/>
+          <thead>
+            <row>
+              <entry>Category</entry>
+              <entry>System Considerations, Issues</entry>
+              <entry>Notes</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>General Company Information</entry>
+            </row>
+            <row>
+              <entry>Company Financials</entry>
+            </row>
+      </tbody>
+    </tgroup>
+  </informaltable>
+  <para>
+    As of DocBook DSSSL, this caused this error:
+<computeroutput>jade:../html/dbtable.dsl:122:44:E: division by zero</computeroutput>
+  </para>
+</article>
+
+