[whatwg] RDFa

Elliotte Harold elharo at metalab.unc.edu
Mon Sep 8 19:00:13 PDT 2008


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!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA



More information about the whatwg mailing list