Hi Sander,

Sander Bos wrote: 
>  - Why does for instance the W3C package interface
> org/w3c/dom/DOMBuilder.java have a reference to the Xerces interface
> (granted, based on DOM3 interface)
> org.apache.xerces.dom3.DOMErrorHandler? Is this a bug or a feature?

Neither. It is a hack. Since the DOM Level 3 is a Working Draft we are
cautious to include it by default in the org.w3c.dom package. Thus, the
DOMErrorHandler (in the default Xerces Build) is not in org.w3c.package
but instead in org.apache.xerces.dom3.DOMErrorHandler one. 

If you need DOM Level 3 support you should not use the default Xerces
distribution, instead build a special version of Xerces that includes
DOM Level 3 interfaces by default:
http://xml.apache.org/xerces2-j/faq-dom.html#faq-3

Read more in DOM FAQs: 
http://xml.apache.org/xerces2-j/faq-dom.html


Good luck,
-- 
Elena Litani / IBM Toronto

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

Reply via email to