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.

(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

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

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