Dan
Dan

Reputation: 11183

Xml Dom library with unit tests

Googled for a Xml Dom open source library that ships with unit tests, but could not find any. Are there any dom libraries, java or .net that have unit tests?

Upvotes: 1

Views: 263

Answers (2)

Holger Hoffstätte
Holger Hoffstätte

Reputation: 1916

I'm not entirely sure whether by "DOM" you mean "pure W3C DOM" or DOM-like libraries in general, but XOM has very complete unit test coverage, based on JUnit.

Upvotes: 0

Stephen C
Stephen C

Reputation: 719249

Apache Xerces certainly includes a bunch of tests; look in the SVN repository. I expect that other libraries do as well. (I cannot imagine how you could develop an XML DOM implementation without some kind of unit / regression test suite.)

Perhaps you are looking in the wrong place for unit tests, or your criteria for what constitutes a "unit test" is too restrictive.

Upvotes: 2

Related Questions