W3C home > Mailing lists > Public > public-html@w3.org > November 2009

Re: XHTML character entity support

From: Toby Inkster <tai@g5n.co.uk>
Date: Sun, 01 Nov 2009 14:46:16 +0000
To: Alexey Proskuryakov <ap@webkit.org>
Cc: HTML WG <public-html@w3.org>
Message-Id: <1257086777.25705.84.camel@ophelia2.g5n.co.uk>
On Fri, 2009-10-30 at 16:10 -0700, Alexey Proskuryakov wrote:
> As noted in
> <http://www.whatwg.org/specs/web-apps/current-work/#writing-xhtml-documents 
>  >, there is no guarantee that authors can use character entity  
> references such as &nbsp; in XHTML, because XML parsers are not  
> required to process external DTD subsets.

A bigger issue is that even user-agents which *do* process external DTD
subsets are not necessarily going to support named entities; simply
because XHTML5 documents do not link to a suitable DTD defining the
named entities.

> This works in at least Firefox, Safari and Opera

In Safari? That's news to me. Last time I tried looking at an XHTML+RDFa
1.0 document served with an XML media type, named entities did not work.
(The XHTML+RDFa 1.0 DTD defines the same set of entities used in XHTML

Toby A Inkster
Received on Sunday, 1 November 2009 14:46:55 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:02 UTC