W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > June 2010

Introspection tests

From: Michael Kay <mike@saxonica.com>
Date: Fri, 25 Jun 2010 18:05:35 +0100
Message-ID: <4C24E1DF.8000705@saxonica.com>
To: public-xml-schema-testsuite@w3.org
Following up the idea I mentioned at the end of today's call, I have 
added an introspection mechanism to the test suite.

There is a stylesheet generate-introspection-testset.xsl which takes the 
master catalogue suite.xml as input, and produces as output a file 
introspection.testSet whose effect is to validate the schema for the 
testsuite, and to validate all the test catalogue documents against this 
schema. That is, it ensures that when you run the test suite, you 
validate all the meta data against the test suite schema as part of the 

The immediate effect is that it reveals that quite a few of the .testSet 
documents are not in fact invalid against the test suite schema. This 
shows up as a test failure for anyone running the test suite.

Michael Kay
Received on Friday, 25 June 2010 17:06:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:49 UTC