RE: DOM 3 Core: Overlap with JAXP, Document order of attributes, getChildElementsByTagName, Exceptions

Fred,

>  This example seems to indicate that an implementation which follows
> the W3C bindings doesn't need any additional functions.  So let's
> avoid the extra method.
>    Perhaps Curt is using a non-conforming implementation? 

I believe the problem is that there is no conforming implementations built into a browser as yet.  The closest I have run into is Mozilla and it has it's bugs.  The one that applies to this is that the DOM constructors are NOT exposed until an object of that type is constructed first.

Example:

The Range object constructor is not exposed until you create one first.

//example code
alert( Boolean( Range ) );  //alerts false;
document.createRange();
alert( Boolean( Range ) );  //alerts true;

This is a major weakness.

Jeff.

--
Jeff Yates
e-mail:    PBWiz@PBWizard.com
Homepage:  http://www.PBWizard.com

--

Received on Wednesday, 16 May 2001 14:50:34 UTC