Re: Error Message in Jade

Subject: Re: Error Message in Jade
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Wed, 4 Mar 1998 12:45:03 -0500
/ Chuck Darney <cdarney@xxxxxxxxxxxxxxxx> was heard to say:
| I'm building a table from many document fragments.  The resulting table
| is in proper format, but the fragments look like:
| 
| <fragdef>CAQRT002.001</fragdef>
| <row><entry align="left" valign="top">Employer
| Contribution</entry></row>
| 
| I use the "fragdef" tag to identify the text block (more for future use
| than necessity.  The tag ends up in multiple places throughout the
| table.  When I use Jade, I get the following message:
| 
| cgideliv.dsl:941:13:E:2nd argument for primitive "ancestor" of wrong
| type: "#<unknown object 8063364>" not a singleton node list
| 
| Line 941 is in the modular DOCBOOK dsl where:
| (row (ancestor "ROW" entry))
| 
| is in the:
| (define (cell-column-number entry overhang)
| 
| Is there a way top avoid the error?  do I need to delete my "fragdef"
| tags?  It works if I do, but I will need them.  Perhaps there's a better
| way to ID all of the document framents I'll be using.

Hmmm.  You must have modified the DocBook DTD to allow <fragdef> in
tables.  But if <fragdef>s are outside of rows, I'm surprised the
stylesheet is bombing where it is.

Can you send me your DocBook customization layer (i.e., your DTD) and
a small instance that causes the problem?

--norm



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Error Message in Jade
    • Chuck Darney - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA08673Wed, 4 Mar 1998 12:19:55 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA10026Wed, 4 Mar 1998 12:47:11 -0500 (EST) <=