xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Goei <edwi...@sun.com>
Subject Re: javax.xml.parsers.DocumentBuilderFactory
Date Fri, 12 Oct 2001 22:40:47 GMT
Isaac Shabtay wrote:
> Hi,
> javax.xml.parsers.DocumentBuilderFactory is supposed to search for the
> factory implementation in some places.
> The last place to look for is:
> ========= START QUOTE ==========
> • Platform default DocumentBuilderFactory instance.
> ========= END QUOTE ==========
> Correct me if I'm wrong, but if this line didn't appear in JAXP
> specification, everyone could use sun's implementation for JAXP, right?
> Nowadays, Apache has to write its own implementation to JAXP, in order to
> hard-code our "platform default factory instance".

In general, the user can control which implementation is used as JAXP
provides for pluggable implementations.  One place for more info is the
doc http://www.apache.org/~edwingo/apache2001/talk-apachecon.pdf.  There
is slide on "changing the implementation".  Unfortunately, it's a PDF


In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message