xmldom icon indicating copy to clipboard operation
xmldom copied to clipboard

`jindw/xmldom` should pass the W3C DOM conformance test suites.

Open bigeasy opened this issue 13 years ago • 1 comments

The W3C provides a conformance test suite. http://www.w3.org/DOM/Test/

There is a full Java implementation from which to crib. The tests themselves are specified in XML, so one would only have to write a Node.js interpreter to read through the tests and apply them.

I'd propose building a test harness that reads through the tests. Then, creating an issue for each failed test, or more likely, picking a test to tackle, creating an issue so there's an opportunity for discussion, then submitting a pull request.

bigeasy avatar Jul 01 '12 11:07 bigeasy

For easier reference: the CVS repo can no longer be checked out but https://github.com/gsnedders/dom-test-suite is a mirror.

  • https://github.com/web-platform-tests/wpt/tree/master/domparsing
  • https://github.com/web-platform-tests/wpt/tree/master/dom
  • https://github.com/gsnedders/ihatexml/tree/master/W3C-Specs Might also be helpful

karfau avatar Jun 21 '20 08:06 karfau