Re: [xml-dev] DOM's javascript roots (was Re: [xml-dev] Have JDOM / XOM / etc. failed?)

From
Gavin Thomas Nicol <>
To
XML List Developers <>
Date
2006-04-25T19:58:26Z
ID
<>
Thread
Re: [xml-dev] DOM's javascript roots (was Re: [xml-dev] Have JDOM / XOM / etc. failed?)
On Mar 31, 2006, at 1:46 PM, Robin Berjon wrote:

> No, I don't think that's true. If the DOM had been created for  
> Javascript it would be a *lot* less horrible than all the hoops it  
> had to jump through to support utterly braindead languages like Java.

FWIW. The DOM API is defined in an XML file, and the bindings  
generated from that. The idea was to provide a common API that would  
be mapped to the underlying languages as best as possible (at one  
point IDL was used), meaning that it would not be ideal in all cases  
(or any cases even), but "good enough".

In addition, the original DOM API proposal was generated in IDL  
directly from the SGML property set. Supporting browser-based notions  
(like live node lists) came later.