Re: Local entities in XHTML

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")
http://www.cs.tut.fi/~jkorpela/ 

Received on Saturday, 8 December 2007 19:52:29 UTC