Re: (dsssl) Stylesheet error with OJ 1.4

Subject: Re: (dsssl) Stylesheet error with OJ 1.4
From: Tony Graham <Tony.Graham@xxxxxxx>
Date: Mon, 17 Dec 2001 16:23:39 +0000
Jany Quintard wrote at 17 Dec 2001 16:44:38 +0100:
 > I asked this on the openjade users list recently but without results.
 > I am having trouble with OJ 1.4Prev on Linux
 > 
 > The following construct :
 > (define *CR* "\carriage-return")
 > (define *LF* "\line-feed")
 > 
 > seems incorrect for OJ which emist :
 > jade:/xo/vpp/sgml-dev/stylesheet/dsssl/mail/print/../../common/sgml/sgml.dsl:50:13:E: unknown character name "carriage-return"
 > jade:/xo/vpp/sgml-dev/stylesheet/dsssl/mail/print/../../common/sgml/sgml.dsl:51:13:E: unknown character name "line-feed"
 > 
 > I had no problemes previously with 1.3.

AFAIK, recent versions of OJ have tried to be more Unicode compliant.

Unicode doesn't actually have characters named CARRIAGE RETURN and
LINE FEED: the control characters are all just identified as
"<control>", and their ISO 6429 names (such as "LINE FEED") are listed
as aliases with no official standing.

Have you tried \U+000D and \U+000A?

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin                mailto:tony.graham@xxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread