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


From: Curt Arnold <carnold@houston.rr.com>
Date: Fri, 6 Jul 2001 00:11:01 -0500
Message-ID: <004501c105da$0c99a5d0$7600a8c0@CurtMicron>
To: <www-dom-ts@w3.org>
Cc: <www-dom-ts-submission@w3.org>
I've made up a little XSLT transform that creates RDF metadata for
the NIST tests by analyzing the Test Matrix at
http://xw2k.sdct.itl.nist.gov/brady/w3c-dom/test-matrix.html  I first needed
to make that document a legal XML document by adding an /> to <br> and <col>

Seems to generate garbage for the HTML tests, but does an okay job on the
XML tests.  Basically, it scans the description of the test for any
parameter name, exception code or 'returns' and emits a corresponding
<dc:subject> element for the parameter, exception code or return values with
a resource URI that should be the same as the corresponding entry in
subjects.rdf.  For example:

<dc:description>The appendChild method raises a WRONG_DOCUMENT_ERR
DOMexception if newChild was created from a different document than the one
that created this node.</dc:description>

The nistmeta.xsl is in the xmlconf CVS (viewable at
sl).  The sample of the generated output is at

The metadata processing code could append extracted in-test metadata with an
external metadata source to produce an overall external metadata file that
would be used for the test matrix and other generation.

The values of the about parameters would need to be generated to reflect the
eventual w3.org locator.

What it the significance of level-both?  Wouldn't any test that tests "both"
levels really be a DOM level 1 test?
Received on Friday, 6 July 2001 01:11:00 UTC

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