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

[whatwg] The problems with namespaces in text/html

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sun, 05 Nov 2006 09:39:51 -0500
Message-ID: <454DF7B7.6010500@metalab.unc.edu>
Henri Sivonen wrote:

>> Is there anything else that stops every HTML5 document from being a 
>> well-formed XML document?
> Case-insensitivity and empty elements for example.

These would stop some documents from being well-formed, not all. I'm 
sure you're allowed to use all lower case. can you use empty-element 
tags if you wish? Or must it be <br> and not <br /> or <br></br>?

> But in any case, even if an HTML5 byte stream happens to be parseable as 
> XML 1.0, you get the wrong infoset if you use an XML parser instead of 
> an HTML5 parser.

Walter, we need you!

There is no right infoset. There is no wrong infoset. There is  only the 
infoset that is useful to some particular process  at some moment in 
time, and which it chooses to create from the actual document. the 
infoset I derive from the document is my concern, not yours.

?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Sunday, 5 November 2006 06:39:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC