W3C home > Mailing lists > Public > www-validator@w3.org > August 2002

Character Entity Question

From: R. Derek Pattison <rderekp@laughing-coyote.com>
Date: Thu, 8 Aug 2002 14:48:21 -0400
Message-ID: <000501c23f0c$2cee7e20$0200a8c0@derek>
To: <www-validator@w3.org>


I just joined this list, so please forgive my newbieness. :)

When I recently tried to validate a webpage with the W3C Validator, I
received an error that says:

Line 48, column 38:
                      off his Cute Look&trade;, taken by Libbye. On the
Error: unknown entity "trade"

But, the Character entity reference at
http://www.w3.org/TR/REC-html40/sgml/entities.html#h-24.3.1 shows:

<!ENTITY trade    CDATA "&#8482;" -- trade mark sign, U+2122 ISOnum -->

It does validate if I use &8482;, which is what I ended up doing.

Am I reading the reference incorrectly? Is &trade; valid, or should I use
&#8482; or not use either for valid XHTML? :)

Thanks in advance for your help,
R. Derek Pattison
Received on Thursday, 8 August 2002 14:46:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC