Document Object Model (DOM) Conformance Test Suites

Overview

The DOM Test Suites (TS) will consist of a number of tests for each level of the DOM specification. The tests will be represented in an XML grammar which ensures that tests can easily be ported from the description format to a number of specific language bindings. This grammar will be specified in XML Schema and DTD form. The grammar will be automatically generated from the DOM specifications themselves, to ensure stability and correctness.

The DOM TS will consist of a number of tests in this XML representation language, plus the XSLT stylesheets necessary to generate the Java and ECMA Script bindings, plus of course the generated code. XSLT stylesheets for other languages will also exist for download but will not form part of the DOM TS Core.

Implementors are encouraged to write a harness around these tests to test their implementation for DOM conformance. The DOM TS will consist of one such harness to run the ECMA tests.

This Document

This document serves as a first point of information for all interested parties. A general account of current activities, finalized work, and pointers to further information is given. In the sections below, you will be able to get a good view of the status of the DOM TS, and if you are interested in something in particular you are invited to follow the appropriate link given below.

Documents

The documents mentioned below are being written as you are reading this, check back regularly for updates.

The development of the DOM TS will be in accordance with the DOM Conformance Test Suite Process Document.

Other documents covering technical and general aspects will be linked to from this page.

What's currently going on?

Activity Matrix

Activity Status Source
XSLT transform for generation DOM TS ML from the DOM specification Latest version XSLT transform to generate DOM TS ML Schema
Schema version of DOM TS ML Latest version DOM Test Suite Markup Language Schema
Schema version of DOM TS ML (October 2000) Latest version DOM Test Suite Markup Language Schema (Oct. 2000)
DTD version of DOM TS ML Not generated yet ...
XSLT to generate interface definitions, used by the XSLT transform that generates the DOM TS ML schema Latest version http://xmlconf.sourceforge.net/www-dom-ts/extract.xsl
XSLT to generate metadata about tests Latest version http://xmlconf.sourceforge.net/www-dom-ts/subjects.xsl
XSLT transform to generate Java code from XML test description Latest version http://xmlconf.sourceforge.net/www-dom-ts/test-to-java.ZIP
Set up a solution for test issue tracking. We will use SourceForge for this purpose. Done https://sourceforge.net/projects/xmlconf/

Other Action Items

This is a list of open issues that we are working on. If you think you can contribute on any of them, please do not hesitate to participate.

Activity Status
Existing NIST tests being transformed into the DOM TS ML Ongoing
Documentation of the DOM TS, production of FAQ, instruction documents. Ongoing
XSLT transform for generation of ECMA binding. Ongoing
Discussion on test suite packaging and metadata Ongoing
Test Matrix Ongoing
Semantic requirements matrix, including pointers to the specification Ongoing

The DOM Level 1 Test Suite is soon to be released. Please visit this page for detailed information on when this happens. Also, please note that no resource linked to above is to be considered normative, as it is not yet finalized. Please use it for information only.

For details, see the mailing list.

Would you like to participate?

Anyone who is interested in participating in this public framework is welcome. Please feel free to join our mailing list (see below) or send a mail to the W3C DOM WG representative to the DOM Conformance Test Suite.

General Mailing List

The W3C DOM Conformance Test Suites has its own mailing list. This forms the primary platform for discussing issues regarding the DOM TS. Here you will also find the archives.

Mailing List for submitting tests

Submission of tests is done by sending an email to the www-dom-ts-submission mailing list. On doing this, you will be notified that your submission will be accepted granted that you accept a copyright statement (which is what you will receive when submitting tests throught the list).


Mary Brady, NIST representative
Dimitris Dimitriadis, DOM TS Representative for the W3C DOM Working Group
Philippe Le Hégaret, DOM Activity Lead