This page lists a few test documents and test scenarios for the W3C Markup Validator make sure everything works fine after making changes to the validator. If you can think of interesting test cases that aren't on this page, let us know.
Below is a list of sample documents for a number of document types the validator is supposed to be supporting. The first validate link will attempt validation with the current instance, for test purposes. The v.w.o instance can be taken as reference/comparison.
Below is a number of other types of documents that the validator does not have in its "hardcoded" catalogue, but should support anyway. All these documents should validate, without "pretty print" for the document type
The following sites/pages are often invalid, but do not rely on the results.
See also Docs that should be Well Formed for examples of doctype-less but well-formed XML documents.
For those, we will need to change the message, or hordes of SGML zombies will come down upon us ;)...
Wrong diagnosis
well formed but no doctype. The validator could mark them as well formed, but not mention validity?
This should be split in UI testing and regression tests
The following documents trip up the parser pretty badly - finds errors way beyond the last line
The following tests do not test the binary "validity" results, but the proper handling of options, errors, various outputs, etc. "validate" links use this instance, with validator.w3.org links added for reference comparison
These should be tied to a bug report on either mailing-list and/or bugzilla whenever possible.