Hi Neeraj,

Sorry I have not replied to your message before. I've seen your latest
commit in which you add to the Xerces DOM HTML implementation
non-standard methods that are parts of the HTML interfaces in the Sun
JDK.

One of the concerns I have regarding this change is that if a user
compiles Xerces under Sun JDK and then attempt to use
getContentDocument() method as method on the HTMLFrameElement interface,
Xerces implementation will throw a runtime exception. However, if the
same code is run on IBM JDK, the "NoSuchMethodError" linkage exception 
will be thrown. My take on this is that such behavior is not desirable,
since it breaks one of the virtues of Java - "compile once, run
everywhere". The behavior can get even more complicated if user chooses
to overwrite Xerces implementation of HTMLFrameElementImpl, providing
different document class -- compiling and running under Sun JDK will
work, however running the same code under IBM JDK will fail.

I believe we need to discuss this change more. Thus, I suggest you pull
back the change (from the main Xerces branch) before the release.


Thank you,
-- 
Elena Litani / IBM Toronto

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

Reply via email to