Subject: memory bug confirmed From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Thu, 31 Jul 1997 18:34:05 -0400 |
I have a setup in which, with the following definition (define (ancestor-in-list nd gilist) (let ((foo 1)) (if (not (node-list? nd)) nd (if (member (gi nd) gilist) nd (ancestor-in-list (parent nd) gilist))))) my jade run fails: [d:\home\nwalsh\www\x]jade -G -t sgml -d ..\..\www2html.dsl book.sgm jade:/share/dsssl/dbhtml/dbhtml.dsl:102:18:E: 1st argument for primitive "gi" of wrong type: "#<unknown object 16276536>" not an optional singleton node list jade:/share/dsssl/dbhtml/dbhtml.dsl:109:4:I: called from here jade:/share/dsssl/dbhtml/dbhtml.dsl:76:13:I: called from here jade:..\..\www2html.dsl:107:23:I: called from here But with this definition (define (ancestor-in-list nd gilist) (let ((foo (debug (node-property 'class-name nd)))) (if (not (node-list? nd)) nd (if (member (gi nd) gilist) nd (ancestor-in-list (parent nd) gilist))))) It fails in a different, possibly unrelated way: jade:..\..\www2html.dsl:103:12:E: 1st argument for primitive "node-list-empty?" of wrong type: ""CHAPTER"" not a node list jade:/share/dsssl/dbhtml/dbcompon.dsl:29:4:I: called from here jade:/share/dsssl/dbhtml/dbcompon.dsl:105:17:I: called from here along with printing about a dozen debug messages. I'll try to package the current state of things up. It's pretty large, unfortunately, and this bug is really elusive so I'm not sure I'll be able to make a small test case. --norm DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
"what is it" function and possible , Norman Walsh | Thread | |
"what is it" function and possible , Norman Walsh | Date | |
Month |