W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2008

[whatwg] RDFa

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Mon, 08 Sep 2008 19:00:13 -0700
Message-ID: <48C5D8AD.60307@metalab.unc.edu>
Henri Sivonen wrote:
> On Aug 24, 2008, at 00:15, Ben Adida wrote:

> The DOM consistency issue is that the xmlns attributes are DOM-wise 
> different in text/html and application/xhtml+xml due to legacy reasons. 
> The attribute that reads xmlns:cc="..." is represented differently in 
> the DOM when the serialization was text/html than when it was 
> application/xhtml+xml. We can't make xmlns:foo='...' conforming on HTML 
> elements without either violating the DOM Consistency design principle 
> (bad) or introducing namespace processing into HTML5 parsing (also bad).

FWIW, I think introducing namespace processing into HTML 5 parsing is 
the lesser evil here. I think it is substantially less bad than an 
inconsistent DOM.

Elliotte Rusty Harold  elharo at metalab.unc.edu
Refactoring HTML Just Published!
Received on Monday, 8 September 2008 19:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:05 UTC