W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2006

[whatwg] Basic assumption about text/html parsing

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 25 Feb 2006 00:02:31 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0602250000300.315@dhalsim.dreamhost.com>
On Sat, 23 Jul 2005, Henri Sivonen wrote:
>
> Is it the intent of WHAT WG to specify text/html parsing in such a way 
> that for each WHAT WG-conforming text/html document there exists (in the 
> mathematical sense) exactly one equivalent canonicalized (in the XML 
> c14n sense) XHTML document?

That isn't a design goal, but off the top of my head I don't see any 
reason why this wouldn't be the case, except if you include comparing the 
result of the parsing the document with scripting enable vs disabled.


> (Also, it would be cool to have a test suite of text/html docs and their 
> canonical XHTML equivalents.)

Agreed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 24 February 2006 16:02:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:26 UTC