Subject: Re: [dssslist] Re: system id of an entity (filename) From: "Pavel Tolkachev" <pavel.tolkachev@xxxxxx> Date: Mon, 28 Jun 2004 10:45:05 -0400 |
Hello Jany, See 8.5.1. Booleans: " Of all the standard values, only #f counts as false in conditional expressions. Except for #f, all standard values, including #t, pairs, the empty list, symbols, numbers, strings, and procedures, count as true. " Hope this will help, Pavel Jany Quintard <jany.quintard@fr To: dssslist@xxxxxxxxxxxxxxxxxxxxxx ee.fr> cc: Subject: Re: [dssslist] Re: system id of an entity (filename) 06/28/2004 10:23 AM Please respond to dssslist * Karl Eichwalder [Sun, 27/06/2004 at 22:02 +0200] > Karl Eichwalder <keichwa@xxxxxxx> writes: > > <!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main DTD Driver File//EN" > (process-children)))) .../... > openjade see the filename, but is isn't retrieved as a string: > > openjade:bell.dsl:295:33:I: debug ""image01.png"" > openjade:bell.dsl:295:33:I: debug "#f" > openjade:bell.dsl:295:15:E: invalid value for "attributes" characteristic > > Why is it double quoted? Hi Karl. It is the way that debug uses to output strings. debug always writes the output as debug "[value of expression]". This makes me wonder. I am not sure of the return of the (if entref ...). I rather use (if (string? entref)...) But maybe I don't understand well the spec (8.3.1.5) (if test consequent alternate) A conditional is evaluated as follows: first, test is evaluated. If it yields a true value, then consequent is evaluated and its value is returned. Otherwise, alternate is evaluated and its value is returned. The question is "what is a true value?". Is any value different from #f a true value, or is #t the only true value. Jany --+------------------------------------------------------------------ DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist To unsubscribe, go to: http://lists.mulberrytech.com/dssslist/ or e-mail: <mailto:dssslist-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+-- -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [dssslist] Re: system id of an , Karl Eichwalder | Thread | Re: [dssslist] Re: system id of an , Jany Quintard |
Re: [dssslist] Re: system id of an , Jany Quintard | Date | Re: [dssslist] Re: system id of an , Jany Quintard |
Month |