[jdom-interest] Deprecating DOMBuilder validating constructors

Jason Hunter jhunter at servlets.com
Fri Apr 12 13:20:29 PDT 2002

Elliotte Rusty Harold wrote:
> These two constructors no longer makes sense once the deprecated
> build(InputStream), build(Reader), and build(File) methods are removed
> from the DOMBuilder class:
> public *DOMBuilder*(boolean validate)
> public *DOMBuilder*(java.lang.String adapterClass, boolean validate)

True, marked as deprecated.

> Also, the three build() mehtods mentioned above were all marked
> deprecated in beta-7 so it's time to remove them.

I've been keeping them around since I like them for testing.  A good
test of SAX and DOM builders is that builds from the same file come out
the same.


More information about the jdom-interest mailing list