Re: controlling character entity transformations in Jade

Subject: Re: controlling character entity transformations in Jade
From: Daniel Speck <dspeck@xxxxxxxxxxxx>
Date: Wed, 24 Jun 1998 09:30:10 -0400

Robin Stephenson wrote:

> I'm transforming SGML from one DTD to another with Jade.  I was
> pleased to see Jade putting in literal equivalents for things like
> &eacute; and so on, but it seems to be transforming some things to
> Unicode, eg `&thinsp;' is transformed to `&8201;'.
>   The thing (one of many things, in fact) that's confusing me is
> I'm including the (unedited) ISOpub entities in the output DTD, so I
> thought that `&thinsp;' would be mapped to `[thinsp]':
> <!ENTITY thinsp SDATA "[thinsp]"--=thin space (1/6-em)-->
>   How can I tell Jade not to do this?

Jade currently does not support the SDATA entity mapping facilities
described in the DSSSL standard.

There is a non-standard inherited characteristic called preserve-sdata?
that can be used with the SGML backend. You need to declare it as follows
before using it:(declare-characteristic preserve-sdata?
"UNREGISTERED::James Clark//Characteristic::preserve-sdata?"

This will preserve all SDATA entity references, not just the ones you want
to preserve.


Daniel Speck                              e-mail: dspeck@xxxxxxxxxxxx
Systems Engineer                           voice:     +1 301.548.7818
Thomson Technology Services Group            fax:     +1 301.527.4094
1375 Piccard Drive, Rockville, MD 20850      WWW:

 DSSSList info and archive:

Current Thread