Eric Hodges wrote:
> 
> <rant>
> The problem could have been avoided by something like this:
> 
> package org.w3c.dom2;
> 
> public interface Node2 extends org.w3c.dom.Node {
>     public void normalize();
> }

If you look at early drafts of the DOM Level 2 spec you'll see that this
is what I originally proposed. But, sometime later, it was decided to
simply extend DOM Level 1 interfaces. As I recall the main reason was
that new interfaces would force people to cast objects all over the
place which would make applications code heavier and have a performance
cost. This was deemed more important in the long term, than allowing
different DOM implementations to co-exist.
You're entitled to disagree.  

> Even Microsoft has the decency to freeze their interfaces once they are
> released.

No comment...
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Reply via email to