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

RE: Test Matrix [Process]

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Fri, 15 Jun 2001 10:20:24 -0600
Message-ID: <B2C1451A181BD411B88A00E018C1C19C08AD05@thor.aeathtl.com>
To: "'www-dom-ts@w3.org'" <www-dom-ts@w3.org>
I meant to outline an metadata driven approach to 
maintaining the test matrix a few days ago, but 
got distracted.

First, we already have URI's for the interface, methods and properties
from the DOM spec.  The base part is debatable, but you could
refer to the hasFeature() method as defined by DOM Level 1 as:


or as defined in DOM Level 2 Core as


or createDocument() as defined by DOM Level 2 as:


Then you need to define a URL to correspond to the "Purpose" column in
your matrix.  If this is a specific passage to the text of the spec,
this could be represented by a XPointer type URI:


If it was some outside of the spec comment, then you'd be on your own.

It should be fairly straight forward to generate RDF with at least 
minimal information to describe the URI's associated with methods,
interfaces, exceptions, parameters, etc using an XSLT transform
on the XML version of the spec.

Then what is needed is to incorporate in the test metadata,
the fact that a specific test refers to particular URI's.

	    <somens:someproperty rdf:reference="http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Level-2-Core-DOM-createDocument')/raises/exception[1])"/>
   <!--  body of test goes here  -->

Or do it externally

    <rdf:about rdf:reference="http://www.example.com/domtest/myfirsttest.xml">
	    <somens:someproperty rdf:reference="http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Level-2-Core-DOM-createDocument')/raises/exception[1])"/>
    <rdf:about rdf:reference="http://www.example.com/domtest/mysecondtest.xml">
	    <somens:someproperty rdf:reference="http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Level-2-Core-DOM-createDocument')/raises/exception[1])"/>
Received on Friday, 15 June 2001 12:29:56 UTC

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