Daniel Veillard schrieb am 16.05.2012 um 23:20 (+0800):
On Wed, May 16, 2012 at 04:35:09PM +0200, Michael Ludwig wrote:Daniel Veillard schrieb am 16.05.2012 um 17:04 (+0800):On Wed, May 16, 2012 at 12:16:43AM +0200, Michael Ludwig wrote:
./runxmlconf.exe - http://www.w3.org/XML/Test/xmlts20080827.tar.gz
Just extract it under xstc I have: paphio:~/XML -> ls xstc fixup-tests.py Makefile.in xstc.pyc xsts-2004-01-14.tar.gz Makefile Tests xstc-to-python.xsl Makefile.am xstc.py xsts-2002-01-16.tar.gz paphio:~/XML -> Tests was created by extracting xsts-2004-01-14.tar.gz tarball there. then runxmlconf should just grab data from there, if that doesn't work don't bother :-)
Hmm, now that I got this far I do bother :) Okay, I figured it out! Not sure how the Tests/ directory would matter. The tarball has a top-level directory of xmlconf/ inside. And something in runxmlconf.exe is looking for this directory. The directory tree I used is as follows: $ cd /usr/local/src/libxml2/libxml2-2.8.0/xstc $ ls -1F Makefile Makefile.am Makefile.in runxmlconf.log runxmlconf.zip xmlconf/ xmlts20080827.tar.gz xmlts20080827.txt xstc.py* xstc-to-python.xsl* $ ls -1F xmlconf/ # contents of the tarball eduni/ files/ ibm/ japanese/ oasis/ sun/ testcases.dtd* xmlconf.xml* xmltest/ I then called the testsuite from inside xstc/ : MiLu Dago: /usr/local/src/libxml2/libxml2-2.8.0/xstc > ../runxmlconf.exe Test suite: XML 1.0 (2nd edition) W3C Conformance Test Suite, 6 October 2000 Test cases: James Clark XML 1.0 Tests Test cases: Fuji Xerox Japanese Text Tests XML 1.0 Tests Test cases: Sun Microsystems XML Tests Test cases: 159 tests Test cases: OASIS/NIST XML 1.0 Tests Test cases: IBM XML 1.0 Tests Test cases: IBM XML 1.1 Tests Test cases: Richard Tobin's XML 1.0 2nd edition errata test suite 21 Jul 2003 Test cases: 34 tests Test cases: Richard Tobin's XML 1.1 test suite 13 Feb 2003 Test cases: 57 tests Test cases: Richard Tobin's XML Namespaces 1.0 test suite 14 Feb 2003 Test cases: 46 tests Test cases: Richard Tobin's XML Namespaces 1.1 test suite 14 Feb 2003 Test cases: 6 tests Test cases: Richard Tobin's XML 1.0 3rd edition errata test suite 1 June 2006 Test cases: 13 tests Test cases: University of Edinburgh tests for XML 1.0 5th edition Test cases: 392 tests Test cases: Richard Tobin's XML Namespaces 1.0/1.1 2nd edition test suite 1 June 2006 Test cases: 3 tests Ran 2269 tests, 15 errors, 0 leaks Total 2269 tests, 15 errors, 0 leaks See runxmlconf.log for detailed output 15 errors were expected I'm attaching the zipped test runxmlconf.log for you to look at. Michael
Attachment:
runxmlconf.zip
Description: Zip compressed data