STANDARDS/SPECS

Conformance Tests

XML 1.0 Second Edition Conformance Test Suite, March 2001

The XML Conformance Test Suite, v1.0, Second Edition contains over 2000 test files and an associated test report. The test report contains background information on conformance testing for XML as well as test descriptions for each of the test files included in this release. This test suite provides a set of metrics for determining conformance to the W3C XML 1.0 (Second Edition) Recommendation. The XML Conformance Test Suite is intended to complement the W3C XML 1.0 (Second Edition) Recommendation. All interpretations of this Recommendation are subject to confirmation by the W3C XML Coordination Group.

Please note that OASIS provides conformance test suites as tools to the community, not as specifications or standards. While produced through the efforts of OASIS members under OASIS technical committees, conformance test suites are not technical specifications and so are not subject to the standard OASIS technical process; they are not formally submitted to, reviewed, or approved by the OASIS membership at-large.

This second edition includes 1000 additional tests contributed by IBM. In addition, several tests have been either updated or further documented to be in accordance with the XML 1.0 (Second Edition) Recommendation.

The test suite is available at http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml

DOM Level 1 Conformance Test Suite, February 2001

The DOM Level 1 Conformance Test Suite was developed by NIST (www.nist.gov) and submitted to OASIS for the benefit of the entire XML community. DOM Level 1 provides a standard set of objects for representing HTML and XML documents, a standard model of how these objects can be combined and a standard interface for accessing and manipulating them. There are two Test Suites for DOM Level 1, one for the ECMAScript binding and the other for the Java binding.

Please note that OASIS provides conformance test suites as tools to the community, not as specifications or standards. While produced through the efforts of OASIS members under OASIS technical committees, conformance test suites are not technical specifications and so are not subject to the standard OASIS technical process; they are not formally submitted to, reviewed, or approved by the OASIS membership at-large.

The ECMAScript DOM Test Suite is interactive; it runs on the NIST server and provides instant results of what passes and fails. It is possible to view the source code of the test, link to the test purposes (semantic requirements), and link to the appropriate section in the W3C DOM Recommendation. The test suite contains over 800 ECMAScript tests, covering all fundamental, extended, and HTML interfaces. It requires IE5 to run.

The Java DOM Test Suite contains over 200 Java tests, covering all fundamental and extended interfaces. The tests are organized into a set of classes, one class for each interface. Each class includes a set of methods that exercise that particular interface. The suite includes a test driver that takes as input an implementation, an interface, and an output file.

Both of these test suites are available at http://xw2k.sdct.itl.nist.gov/xml/dom-test-suite.html

 

XML Test Suite - July 1999

The XML (Extensible Markup Language 1.0) Conformance Test Suite, jointly developed by OASIS and NIST, contains over 1000 test files and an associated test report. This test suite provides an initial set of metrics for determining conformance to the W3C XML 1.0 Recommendation. It is anticipated that this test suite will grow over time, and will be expanded to include additional XML functionality as the set of XML recommendations evolve. The XML Conformance Test Suite is intended to complement the W3C XML 1.0 Recommendation. All interpretations of this Recommendation are subject to confirmation by the W3C XML Coordination Group. See http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.html