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


From: David Woolley <david@djwhome.demon.co.uk>
Date: Mon, 7 Mar 2005 21:08:18 +0000 (GMT)
Message-Id: <200503072108.j27L8Is00566@djwhome.demon.co.uk>
To: www-html@w3.org

> increase the depth of tree. But if instead the tags are <br/> the depth 
> of the parse tree remains same.
> The reason why I don't want to handle tag soup parsing in the parser is 

<br> in HTML is NOT tag soup.  Tag soup is things like:

<b>  xxx <i> yyy </b> zzz </i>      - elements don't nest
<b><p>......</p></b>                - content model violated (block in inline)

<br> in HTML has the same meaning as <br/> in XHTML, and results in the
same parse tree.

HTML will be required for decades to come, not just for legacy content.
IE doesn't support proper XHTML.

I believe the suggestion to have a tag soup and XML parser was trying to
say that a good tag soup parser will also parse valid HTML.  It wasn't
saying that valid HTML is tag soup.
Received on Monday, 7 March 2005 21:12:30 UTC

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