Samuel Cheung wrote:
> The body element is "org.apache.html.dom.HTMLBodyElementImpl" which is what
> I expect, but the Paragraph element is different.
> 
> Could some one please explain to me why?

This is due to a bug in the Xerces HTML DOM implementation.
More specifically, it was caused by adding a proprietary
factory method to the base DOM implementation that was *not* 
added to the HTML DOM implementation at the same time. This 
caused regular DOM nodes to be created instead of the 
appropriate HTML DOM element nodes.

This bug has been fixed in CVS. You can drop back to using
Xerces 2.0.0 -- the bug was introduced in Xerces 2.0.1 --
or pull down a recent nightly build of Xerces from Apache.
Here's the link:

  http://gump.covalent.net/jars/latest/xml-xerces2/

-- 
Andy Clark * [EMAIL PROTECTED]

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

Reply via email to