This is the official site for Elliotte Rusty Harold's SAX conformance test suite. To learn more about the test suite consult the paper presented at XML Europe 2004.
You'll need Java and Ant installed. Any recent version should do.
% ant expected
This creates the directory SAXTest/results/preexpected% ant generate-oracle
To try out a new parser, copy one of the ant tasks, and change the argument to the fully package-qualified class name of your parser.
% ant compare-oracle
This creates XML output such as oracle.xml.parser.v2.SAXParser.xml. The file is named after the fully package qualified parser name.% xsltproc results.xsl oracle.xml.parser.v2.SAXParser.xml>oracle.xml.parser.v2.SAXParser.html
These instructions are pretty rough at this point, and have not been heavily tested except on my system. The whole process needs to be more automated. If you have any trouble getting this to run, please send me e-mail, and I'll see what I can do.