DOM

TorgoX on 2002-08-18T06:41:37

Dear Log,

And people wonder why I hate the W3C.


Yeah, but...

jhi on 2002-08-18T14:10:29

I would hate less W3C in general but more OO-heads in particular...

Nice graphic!

mir on 2002-08-18T17:43:12

I must say that I have no problem with the DOM class hierarchy. An XML document is quite a complex thing and I think the DOM does a good job at modeling it.
I hate the API though, or at least I hate the fact that everybody uses the Java version of the API (even in Perl!), and I think it sucks as a general XML tree-transformation tool.
The oft-heard argument that it makes sense to have the same API in different languages so people can go from one to the other is IMHO ridiculous. If you want a Java API then use Java, and when you code in Perl use a Perl API. Why not include C's ridiculous for( i=0; i++; i<2) in Perl, and throw away our beloved arrow so method calls "look more like Java's"? Wait... ;-) (just to make it clear: I love the arrow and the argument IS ridiculous)