Subject: Re: call of non-function object From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx> Date: 24 Jul 1998 10:09:01 +0100 |
shennessy> shennessy <URL:mailto:shennessy@xxxxxxxxxx> => In article <9807239012.AA901218164@xxxxxxxxxxxxxxxx>, shennessy => wrote: shennessy> Please could someone offer an explanation of the problem shennessy> that Jade is reporting? shennessy> jade:sgml2odsp.dsl:1004:69:E: call of non-function object "#<unknown object 16869264>" [It would be nice if you showed which line is 1004 in your source] shennessy> (if ( string=? ( (attribute-string "ID" ^^^ shennessy> ( (select-elements (children ( enl ) ) (normalize ^^^ shennessy> "graphic") ) ) ) ) %test-value%) These forms look suspicious. You're calling a function, and then calling its result as a function. But attribute-string and select-elements don't return functions. I think you want shennessy> (if (string=? shennessy> (attribute-string "ID" shennessy> (select-elements (children (enl)) shennessy> (normalize "graphic"))) shennessy> %test-value%) shennessy> ... shennessy> ...) shennessy> ------=_NextPart_000_0018_01BDB62C.359CB2C0 shennessy> Content-Type: text/html; shennessy> charset="iso-8859-1" shennessy> Content-Transfer-Encoding: quoted-printable Please don't do this. It doesn't add anything, it wastes bandwidth, and I'd be surprised if the archiver likes it. -- DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
call of non-function object, shennessy | Thread | Re: call of non-function object, Oisin McGuinness |
Re: normalizing input to jade, Tony Graham | Date | Re: Processing CDATA content with D, Sebastian Rahtz |
Month |