Re: Implementation difference of DOMParser and DocumentBuilderFactoryImpl in XercesJ

2008-12-11 Thread Michael Glavassevich
Hi Clarence, They are part of the same implementation. DocumentBuilderFactory creates DocumentBuilders and the DocumentBuilder implementation in Xerces wraps a DOMParser. Not sure what more you're expecting to get from DOMParser. Arguably the DocumentBuilder has more capability (e.g. setSchema(ja

Implementation difference of DOMParser and DocumentBuilderFactoryImpl in XercesJ

2008-12-11 Thread Ng, Clarence
Hi. We have been using the documentbuilderfactory interface, which defaults to java's implementation of dom parser (com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactory). We are planning to upgrade it to xerces-j 2.8.1. However we found the interfaceImpl (org.apache.xerces.jaxp.Docum