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

Re: HTML Improvement/Suggestion

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 13 Dec 2005 23:53:00 +1100
Message-ID: <439EC42C.4020604@lachy.id.au>
To: Anne van Kesteren <fora@annevankesteren.nl>
CC: David Dorward <david@us-lot.org>, www-html@w3.org

Anne van Kesteren wrote:
> Quoting David Dorward <david@us-lot.org>:
>> They can't. That is the main difference between HTML and XHTML. The
>> point is that XHTML does not create a better defined parse tree
>> because of this.
> 
> It does. When I use some random element in XHTML I know what the tree 
> will look like. In HTML you don't really know that.

Perhaps it's not so obvious with the way broken HTML parsing has been 
widely implemented in browsers, but SGML does have parsing rules that do 
define what the tree should look like.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Tuesday, 13 December 2005 12:53:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT