W3C home > Mailing lists > Public > www-dom-ts@w3.org > November 2001

Re: DOMTestCase, JUnitRunner, AvalonRunner

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 26 Nov 2001 11:44:35 -0500
Message-ID: <3C027173.DFA4774E@w3.org>
To: www-dom-ts@w3.org
Philippe Le Hegaret wrote:
> if everything failed,
> try to bootstrap it based on the content of the properties
> "org.w3c.dom.DOMImplementation" and "org.w3c.dom.Document" (option 3). This
> requires to embed a full SAX2 parser in the distribution to build the tree
> ourself. "org.w3c.dom.Document" will be used to bootstrap a DOM Level 1 only
> implementation. It might fail if the implementation does not support
> newInstance() on the class implementing the Document interface and, in that
> case, you will be really force to change the DOM Test Suite in order to run it.

One other drawback of option 3 is Entity nodes. Since you cannot create them,
your entity ref nodes will always be empty... There is no real way to solve this
problem unfortunately. The better thing is to always use the implementation
bootstrapping as much as possible and, if not available, try to test everything
except entities.

Received on Monday, 26 November 2001 11:44:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:04 UTC