W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: Special characters

From: David Dorward <david@dorward.me.uk>
Date: Wed, 24 Nov 2004 14:52:00 +0000
To: Markus Doppelbauer <doppelbauer@gmx.net>
Cc: www-validator@w3.org
Message-ID: <20041124145200.GA7261@us-lot.org>

On Wed, Nov 24, 2004 at 02:47:04PM +0100, Markus Doppelbauer wrote:

> The w3c docu:    
> http://www.w3.org/TR/html/dtds.html#a_dtd_Special_characters
> says, one should use   &apos;   instead of    &#39;

Where does it say that? I can't see it. (It does say that the &apos;
means &#39;, but I don't believe the DTD expresses a preference)
 
> But the validator (validator.w3.org) doesn't know     &apos;

Yes it does.
http://validator.w3.org/check?uri=http%3A%2F%2Fdorward.me.uk%2Ftmp%2Fspec.xhtml

(Of course, &apos; doesn't appear in HTML, but if you are trying to use
an XHTML DTD to write your HTML against then you are bound to run into
problems)

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 24 November 2004 14:52:03 GMT

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