Re: [dssslist] Re: system id of an entity (filename)

Subject: Re: [dssslist] Re: system id of an entity (filename)
From: Jany Quintard <jany.quintard@xxxxxxx>
Date: Mon, 28 Jun 2004 16:23:33 +0200
* 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

Current Thread