W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: HTML or XHTML - why do you use it?

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 7 Jan 2003 07:30:17 +0000 (GMT)
Message-Id: <200301070730.h077UI001114@djwhome.demon.co.uk>
To: www-html@w3.org

> Of course.  But I think XHTML has more (most of the time helpful)
> constraints to ensure more consistent content, and I guess that's what I
> meant by _more_ strictly validate a document.

It also has some constraints that are not enforceable by XML validators but
are enforced by HTML SGML validators.  This is because of limitations in
the XML content models.

Also, as I pointed out before, if you take an HTML document with
omitted start and end tags and run it through sgmlnorm (from the SP
tools used by the W3C validator), you get out a document with omitted
tags made explicit.  If this displays correctly on your favourite tag
soup browser, you can use it instead of the original document.  If it
doesn't, the browser is broken, but the output version should still be
more predictable.
Received on Tuesday, 7 January 2003 02:49:50 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:48 UTC