W3C home > Mailing lists > Public > public-mwts@w3.org > June 2009

Extracted test assertions from Widgets spec

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 17 Jun 2009 09:30:49 +0200
To: public-mwts <public-mwts@w3.org>
Message-Id: <1245223849.8064.2034.camel@localhost>
Hi Kai,

As per my ACTION-60, I have developed a simple XSLT that can extract the
conformance requirements from the Widgets specification:
http://dev.w3.org/2006/waf/widgets/tests/extractTestAssertions.xsl

Your browser should show you a form at that address, with a choice to
extract either all requirements, or only the "must" ones.

The former gives:
http://www.w3.org/2005/08/online_xslt/xslt?xslfile=http%3A%2F%
2Fdev.w3.org%2F2006%2Fwaf%2Fwidgets%2Ftests%
2FextractTestAssertions.xsl&xmlfile=http%3A%2F%2Fcgi.w3.org%2Fcgi-bin%
2Ftidy-if%3FdocAddr%3Dhttp%253A%252F%252Fwww.w3.org%252FTR%252Fwidgets%
252F
and the latter:
http://www.w3.org/2005/08/online_xslt/xslt?filter=must&xslfile=http%3A%
2F%2Fdev.w3.org%2F2006%2Fwaf%2Fwidgets%2Ftests%
2FextractTestAssertions.xsl&xmlfile=http%3A%2F%2Fcgi.w3.org%2Fcgi-bin%
2Ftidy-if%3FdocAddr%3Dhttp%253A%252F%252Fwww.w3.org%252FTR%252Fwidgets%
252F

I think it could probably be improved a bit further; ideally, it would
allow to filter the conformance requirements based on what class of
products they apply to, but the spec isn't consistent enough to allow
for this easily.

Let me know if this fits your needs.

Dom
Received on Wednesday, 17 June 2009 07:31:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 June 2009 07:31:27 GMT