1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <title>RELAX NG Test Suite
</title>
7 <p>This is a test suite for the final version of the
<a
8 href=
"http://www.oasis-open.org/committees/relax-ng/spec-20011203.html">RELAX
9 NG
1.0 Specification
</a>.
</p>
11 <p>The test suite consists of a single XML file
<a
12 href=
"spectest.xml">spectest.xml
</a>, which includes over
300 test
13 cases. Each test case consists of a correct or incorrect RELAX NG
14 schema and zero or more valid or invalid instances. A RELAX NG
<a
15 href=
"testSuite.rng">schema
</a> is available that specifies the format
16 of the test suite.
</p>
18 <p>In order to run the test suite it may be convenient to split it up
19 into separate files. An XSLT stylesheet
<a
20 href=
"split.xsl">split.xsl
</a> is included to do this. This stylesheet
21 uses
<a href=
"http://saxon.sourceforge.net/">SAXON
</a> extensions.
<a
22 href=
"http://www.thaiopensource.com/relaxng/jing.html">Jing
</a>
23 includes a class to run the test suite after it has been split up.
24 The class is
<code>com.thaiopensource.relaxng.util.TestDriver
</code>.
25 This class must be invoked with two arguments. The first argument is
26 a log file for expected errors. The second argument is the directory
27 containing the split-up test suite.
</p>
30 <a href=
"mailto:jjc@jclark.com">James Clark
</a>