Re: Comments on HTML WG face to face meetings in France Oct 08

Henri Sivonen wrote:

> This means that agents that do not support scripting may use a different 
> object model. For example, it's conforming to implement a no-scripting 
> agent with XOM as the internal object model. The Validator.nu HTML 
> Parser even supports XOM out-of-the-box.
> 

As you point out XOM instead of DOM is not a big leap. They're both tree 
model after all. I'm more concerned about more radical changes like SAX 
or other streaming APIs or document specific data bound models or even 
stranger things. Is it plausible to extend the HTML 5 parsing model to 
cover this?

I also strongly question the wisdom of locking in one of the absolute 
worst APIs we have. If there's one thing that needs replacing in the 
HTML ecosystem, it's DOM. Sooner or later DOM will be replaced, and if 
HTML 5 is standing in the way when that day comes, then HTML 5 is going 
to come up the loser. Were the object model separable from the syntax 
and semantics, then the sensible parts of HTML 5 would have a better 
chance of surviving the transition.

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA

Received on Tuesday, 18 November 2008 13:25:21 UTC