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

Reference to non-SGML character Error Message

From: Kennedy, Richard T <richard.t.kennedy@boeing.com>
Date: Thu, 27 Jun 2002 16:13:55 -0400 (EDT)
Message-ID: <FE710FB345D59942986196E5584EDD6278D46F@xch-nw-12p.nw.nos.boeing.com>
To: "'www-validator@w3.org'" <www-validator@w3.org>
In HTML files with the following DTD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
certain character entities are flagged as errors. Please see the example
below:

 ... lass="bold">*M/S/C Creighton/O&#146;Keefe Moved to go into E ...
                                              ^
     Error: reference to non-SGML character 

I'm not exactly sure why that is technically invalid but I am not aware of
any browsers that have a problem with it. The problem also happens with
character entities &#148; &#150;

Also, I tried it with another DTD validator and it did not report a problem.

Richard T. Kennedy
The Boeing Company
PO Box 3999  MC 8R-03
Seattle, WA  98124-2499


Received on Friday, 28 June 2002 14:59:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT