rendering trademark in HTML using DSSSL and Navigator

Subject: rendering trademark in HTML using DSSSL and Navigator
From: Deborah Greenberg Lidl <dgl@xxxxxxxx>
Date: Tue, 22 Aug 2000 21:48:14 -0600
All --

It appears that one of the tools is not playing well with the trademark
symbols in HTML.

In Netscape Navigator 4.x browsers on both BSD/OS 4.1 and Windows 98,
trademarks are showing up as &trade; in the text.  Registered trademarks,
service marks, and copyright are showing up as the symbols.

In Lynx on BSD/OS and Internet Explorer 5.0 and HotMetal PRO on Windows
98, all trademarks symbols are rendered as you would expect.

Using the print stylesheet transformed to TeX and converted to
PostScript, all the trademark symbols are rendered as you would
expect. 

The tools:
	DocBook SGML 4.1 / DSSSL 1.54 / Jade 1.2.1 / BSD/OS 4.1

The testfile (with the path to the docbook.dtd on my system):

  <!doctype para public "-//OASIS//DTD DocBook V4.1//EN" "/usr/local/share/sgml/docbook/docbook.dtd">

  <para>What is the difference between 
	<trademark>foo</trademark>, 
	<trademark class="trade">bar</trademark>, 
	<trademark class="registered">baz,</trademark>,
	<trademark class="service">quux</trademark>, and
	<trademark class="copyright">wombat</trademark>?
  </para>

The HTML results:

	<P
	>What is the difference between 
		<SPAN
	CLASS="TRADEMARK"
	>foo</SPAN
	>&trade;, 
		<SPAN
	CLASS="TRADEMARK"
	>bar</SPAN
	>&trade;, 
		<SPAN
	CLASS="TRADEMARK"
	>baz,</SPAN
	>&reg;,
		<SPAN
	CLASS="TRADEMARK"
	>quux</SPAN
	><SUP
	>SM</SUP
	>, and
		<SPAN
	CLASS="TRADEMARK"
	>wombat</SPAN
	>&copy;?</P
	>

When the HTML results are viewed in Netscape Navigator, it displays:

	What is the difference between foo&trade;, bar&trade;,
	baz,®, quuxSM, and wombat©?

The hex stuff is, of course, shown as the actual symbols.  

In playing around with Netscape Composer, it appears that the
trademark symbol is being interpreted as &amp;trade;.

When the HTML results are viewed in Internet Explorer or Lynx, they
display the trademark symbol along with the other symbols.

Suggestions, pointers, and other comments greatly appreciated.
Debbie
-- 
Deborah Greenberg Lidl                       Toll free: 1.888.849.BSDi
dgl@xxxxxxxx                    BSDi             Phone: 1.301.765.7945
http://www.bsdi.com                                Fax: 1.301.765.7946


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


Current Thread