Hi Neeraj,

Neeraj Bajaj wrote:
> Well, the problem is with the Xerces2. I found that
> Xerces2 DOM HTML apis are different than the official version of DOM
> HTML apis available with W3C
> http://www.w3.org/TR/DOM-Level-2-HTML/java-binding.html

The official version you are referring to is _not_ the version included
in the Sun 1.4 JDK.

Sun JDK includes org.w3c.dom.html interfaces (note that the official DOM
HTML L2 is in org.apache.dom.html2). Our understanding is that the
interfaces in the JDK represent DOM HTML L2 CR version which was broken
and never became a Recommendation. Instead, this CR version was *pulled
back* to become a Working Draft and DOM WG made more changes to the
draft to reconcile IE and Netscape. Because some of those changes are
backward incompatible with DOM L1 HTML, the final Recommendation binding
of DOM L2 HTML is in the org.w3c.dom.html2 package.

Xerces2 includes and implements DOM L1 HTML + HTMLDOMImplementation
interface (from DOM HTML L2), so we can probably claim that Xerces
implementation is compliant with the DOM L1 HTML. 

To fix the problem during the build against JDK 1.4 we need to overwrite
classpath to compile against or apis.jar that include *correct* version
of the DOM HTML. It should be fixed in the CVS.

Thanks,
-- 
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to