README 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Test runner for w3.org XML compliance suite
  2. -------------------------------------------
  3. The xmlts is intended to run the XML compliance suite from W3.org.
  4. The suite includes 2500+ tests. It may be downloaded from
  5. http://www.w3.org/XML/Test/xmlts20031210.zip (approx. 1.7 mBytes)
  6. After compiling xmlts.pp, run it with the following command line:
  7. xmlts <path-to-xmlconf.xml> <report-filename> [-t template.xml] [-v]
  8. Two required commandline parameters include path to test database file and report
  9. filename. Optionally, you may specify validating mode with -v switch and report
  10. template filename with -t (by default, 'template.xml' is used).
  11. The test suite includes several test databases (all named 'xmlconf.xml'). There is
  12. master database located in root dir, and several individual databases in different
  13. subdirs.
  14. for example, to run all tests included into the suite in non-validating mode, use:
  15. xmlts xmlconf/xmlconf.xml myreport.html
  16. Report is produced in xhtml format, use your favourite browser to view it.
  17. As of 10.03.2007, the xml package does not support namespaces yet, so you might wish
  18. to exclude namespace tests. To do this, edit xmlconf/xmlconf.xml file and comment out
  19. two lines at the bottom which reference 'eduni-ns10' and 'eduni-ns11' testsuites.
  20. (The last lines should look like:
  21. &eduni-xml11;
  22. <!-- &eduni-ns10; -->
  23. <!-- &eduni-ns11; -->
  24. </TESTSUITE>
  25. )