This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] xml/docbook/dsssl - dbtable error


This is a problem which has been reported before, but I found no
solutions so I'll ask it again:

I'm using a DocBook XML document, OpenJade, and the DSSSL stylesheets
for RTF output.  They work OK, but I get an error when processing
tables:

dbtable.dsl:224:13:E: 2nd argument for primitive "ancestor" of wrong
type: "#<unknown object 138562344>" not a singleton node list

The generated RTF contains formal table titles but no table content when
viewed in emacs.  The generated document is viewable in WordPad, but
makes MS Word freeze.

The document is included below.  I have tried this with stylesheets
v1.56, v1.78, and a frankenstein monster of 1.56 with 1.78's
dbtable.dsl.  All resulted in the same error message.

What can I do to fix this?  Change the way I write tables?  Change my
stylesheets?

thanks

-k

-----------------------------------------------------------------------
Previous mentions of this problem:

* http://lists.oasis-open.org/archives/docbook-apps/200111/msg00180.html

This was with v1.56 and Norm suggested upgrading to a more recent
version.

* http://sources.redhat.com/ml/docbook-apps/2004-q1/msg00354.html

This was with v1.77 and there was no reply.

------------------------------------------------------------------------

The document.  (I have also tried with formal tables and saw the same
result.)

<?xml version="1.0" encoding="utf-8"?>
<sect1 lang="en">
   <title>Table Test</title>
   <informaltable colsep="1" frame="all" pgwide="1" rowsep="1">
      <tgroup cols="3">
         <colspec colnum="1" colwidth="1"/>
         <colspec colnum="2" colwidth="3"/>
         <colspec colnum="3" colwidth="1"/>
         <thead>
            <row>
               <entry>0.46922</entry>
               <entry>0.58279</entry>
               <entry>0.33395</entry>
            </row>
         </thead>
         <tbody>
            <row>
               <entry>0.064781</entry>
               <entry>0.4235</entry>
               <entry>0.43291</entry>
            </row>
         </tbody>
         <tfoot>
            <row>
               <entry>0.98833</entry>
               <entry>0.51551</entry>
               <entry>0.22595</entry>
            </row>
         </tfoot>
      </tgroup>
   </informaltable>
</sect1>

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]