W3C home > Mailing lists > Public > www-html@w3.org > December 2007

Re: Local entities in XHTML

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 8 Dec 2007 21:52:27 +0200
Message-ID: <02b801c839d3$dfaf9d10$0500000a@DOCENDO>
To: "Yves MARCOUX" <Yves.MARCOUX@umontreal.ca>, "Kornel Lesinski" <kornel@geekhood.net>
Cc: <www-html@w3.org>

Kornel Lesinski wrote:

> All top browsers support internal subset it in XML

Of course, you need to exclude _the_ top browser, which does not 
understand XHTML at all. It is able to process an HTML document as pure 
XML, but then it isn't any flavor of HTML any more.

> If it didn't work for you, you've probably sent
> your document as HTML.

And virtually all browsers fail to process HTML as defined in HTML 2.0 
through HTML 4.01, though most people won't notice this because they 
don't use any of the advanced markup features.

> So the W3C Validator is wrong.

Non sequitur.

> It does not respect document's
> Content-Type, and tries to find valid document where there isn't such.

"Local entities" are just as valid in HTML as in XHTML. But browsers 
don't want to process them unless you play the XHTML game.

Jukka K. Korpela ("Yucca")
Received on Saturday, 8 December 2007 19:52:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:17 UTC