On Thu, 22 Feb 2001, Alex Neth wrote:

> 
> The DocumentBuilder API is part of the Sun API, whereas the DOMParser is 
> proprietary to Xerces.
> 
> I was just wondering why this class exists when it is redundant.

DocumentBuilder is part of JAXP, a standard API for XML parsing.  The idea
is that if you write your code using JAXP, then you can drop any JAXP
compliant parser (such as xerces, or the reference JAXP implementation
from Sun) into the right place in your classpath, and it'll just work.

Ian

-- 
Ian Roberts, Software Engineer        DecisionSoft Ltd.
tel: +44-1865-203192                  http://www.decisionsoft.com

Reply via email to