Valid Documents
Document types support
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.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html20.html
HTML 2.0 Document Type support test
Pass
Valid HTML 2.0 sample document.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html20-strict.html
HTML 2.0 Document Type support test
Pass
Valid HTML 2.0 Strict sample document.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html40-strict.html
HTML 4.0 Document Type support test
Pass
Valid HTML 4.0 Strict sample document.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html40-transitional.html
HTML 4.0 Transitional Document Type support test
Pass
Valid HTML 4.0 Transitional sample document.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html40-frameset.html
HTML 4.0 Frameset Document Type support test
Pass
Valid HTML 4.0 Frameset sample document.
HTML 4.01 Strict Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.html
Pass
Valid HTML 4.01 Strict sample document.
http://www.w3.org/TR/1999/PR-html40-19990824/
HTML 4.01 Transitional Document Type support test
Pass
Valid HTML 4.01 Transitional sample document - (from the HTML 4.01 PR)
HTML 4.01 Transitional (w/ iframe) Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2329-html401-transitional_iframe.html
Pass
Valid HTML 4.01 Transitional sample document. - with iframe element
(test for Bug 2329)
HTML5 support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-ok.html
Pass
HTML5 sample document.
ISO-HTML Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/iso-html.html
Pass
Valid ISO-HTML (aka ISO/IEC 15445:2000) sample document.
XHTML 1.0 Strict Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-strict.html
Pass
Valid XHTML 1.0 Strict sample document
XHTML 1.0 Strict Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-strict-minimal.html
Pass
Valid XHTML 1.0 Strict (from XHTML Spec) sample document.
XHTML Basic 1.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-basic10.xhtml
Pass
Valid XHTML Basic 1.0 sample document.
XHTML Basic 1.1 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-basic11.xhtml
Pass
Valid XHTML Basic 1.1 sample document.
XHTML Basic 1.1 (revised) Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml11-basic-w3c.xhtml
Pass
W3C home page as XHTML 1.1 Basic. Should be valid but may not validate with the old REC versions of the DTD (would not like the class and style attributes)
XHTML MP 1.2 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-mp-1_2.xhtml
Pass
XHTML MP 1.2
XHTML 1.1 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml11-minimal.html
Pass
XHTML 1.1
XHTML+MathML2 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-mathml2-fpi.html
Pass
Valid XHTML/MathML2 sample document (with FPI)
MathML 2.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.mml
Pass
Valid MathML 2.0 minimal test document
XHTML 1.1 (as application/xhtml+xml) Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml
Pass
Valid XHTML 1.1 sample document, served as application/xhtml+xml
SMIL 1.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil10-minimal.smi
Pass
Valid SMIL 1.0 minimal document
SMIL 2.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil20.smi
Pass
Valid SMIL 2.0 sample document.
SMIL 2.1 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/SMIL21.smil
Pass
Valid SMIL 2.1 sample document.
SMIL 2.1 Mobile Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/SMIL21_Mobile.smil
Pass
Valid SMIL 2.1 Mobile sample document.
XHTML + MathML + SVG Document Type support test
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/sample.xhtml
Pass
Valid XHTML + MathML + SVG sample document (from the 9 August 2002 WD)
XHTML Print 1.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml
Pass
Valid XHTML-Print sample document.
SVG 1.0 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/REC-SVG-1_0-minimal.svg
Pass
Valid SVG 1.0 Rec. minimal document
SVG 1.1 Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/svg11.svg
Pass
Valid SVG 1.1 Rec. minimal document
SVG 1.1 Tiny Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/svg_tiny_1_1.svg
Pass
Valid SVG Tiny 1.1 sample document.
XHTML + RDFa Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_rdfa.xhtml
Pass
Valid XHTML + RDFa sample document.
Document types outside the main catalogue
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.
HTML4.0 plus blink (Custom DTD) Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/sgml_customdtd.html
Pass
HTML4.0 plus blink ("Custom" SGML DTD)
RDDL (with FPI) Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/rddl_fpi.xhtml
Pass
RDDL (with FPI)
RDDL (SI only) Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/rddl_si.xhtml
Pass
RDDL (no FPI)
MusicXML Document Type support test
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/5031-root_dash.xml
Pass
sample MusicXML, a non-catalogued XML based document type. (also test for Bug 5031)
Valid Doctypeless Documents
Some document types (SVG) do not require the presence of the DOCTYPE declaration, although a DTD can be used to validate. The validator can however determine the version to validate against by preparsing the root element and the presence of version, baseProfile attributes.
(control) test for validation of SVG 1.0 with Doctype
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-10-doctype.svg
Pass
Valid SVG 1.0, using a DOCTYPE
Test for validation of Doctype-less SVG 1.0
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-10-doctypeless.svg
Pass
Valid SVG 1.0, but no declared DOCTYPE. Version attribute present for auto-detection
(control) test for validation of SVG 1.1 with Doctype
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-11-doctype.svg
Pass
Valid SVG 1.1, using a DOCTYPE
Test for validation of Doctype-less SVG 1.1
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-11-doctypeless.svg
Pass
Valid SVG 1.1, no declared DOCTYPE. Version attribute present for auto-detection.
(control) test for validation of SVG 1.1 Basic with Doctype
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-basic-11-doctype.svg
Pass
Valid SVG Basic 1.1, using a DOCTYPE (test currently fails because of issues in the DTD)
Test for validation of Doctype-less SVG 1.1 Basic
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-basic-11-doctypeless.svg
Pass
Valid SVG Basic 1.1, no declared DOCTYPE. Version and baseProfile attributes present for auto-detection. (test currently fails because of issues in the DTD)
(control) test for validation of SVG 1.1 Tiny with Doctype
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-tiny-11-doctype.svg
Pass
Valid SVG Tiny 1.1, using a DOCTYPE
Test for validation of Doctype-less SVG 1.1 Tiny
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-tiny-11-doctypeless.svg
Pass
Valid SVG Tiny 1.1, no declared DOCTYPE. Version and baseProfile attributes present for auto-detection.
Test for validation of SVG 1.1 without a version attribute, but with a DOCTYPE
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-noversion-doctype.svg
Pass
Valid SVG 1.1, using a DOCTYPE. No version attribute (optional). Should use info given by doctype.
Test for validation of SVG 1.0 without a version attribute, but with a DOCTYPE
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-noversion-doctype2.svg
Pass
Valid SVG 1.0, using a DOCTYPE. No version attribute (optional). Should use info given by doctype.
Test for validation of SVG with neither a version attribute nor DOCTYPE
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-noversion-doctypeless.svg
Pass
SVG with neither DOCTYPE nor version attribute. The validator may use a default.
Valid Documents, with Warnings
Test document with reference to a non-existing ID
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html
Pass
yes
Reference to a non-existing ID
(opensp message type X, See bug 2342).
Test for warnings about non-SGML character(s)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nonSGML-chars.html
Pass
Non-SGML Chars
Test for warning about ampersand as data (in SGML)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/ampersand-as-data_html401.html
Pass
yes
HTML 4.01 Document with Ampersand as data
(OK in SGML, not XML :see Bug798: Ampersand as data in XHTML)
Test for warning in case of ambiguous parse mode
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html
Pass
document served as text/html
, using a custom DTD and for which parse mode is impossible to determine via generic heuristics (triggers warning W06)
Test of warning in case of FPI/SI doctype mismatch (XHTML1)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-xhtml1-strict_FPI-SI-mismatch.xhtml
Pass
yes
FPI/SI doctype declaration mismatch (system Id refers to a 404)
Test of warning in case of FPI/SI doctype mismatch (HTML4)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-html40-transitional_FPI-SI-mismatch.html
Pass
FPI/SI doctype declaration mismatch (html 4 doc with system Id refers to xhtml)
Test of warning in case of FPI case mismatch in doctype
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401_doctypecase.html
Pass
yes
FPI/SI doctype declaration mismatch (system Id is OK but FPI has wrong case)
Test of warning for the usage of shorttag constructs
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/shorttags.html
Pass
yes
sample HTML 4 document using the (valid, but problematic) shorttags features
Test for warning output from HTML5 parser
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-warning.html
Pass
yes
sample HTML5 document using a construct that should pass checking, with a warning output.
Valid XHTML 1.0 documents not conforming to HTML compatibility Guidelines
The XHTML 1.0 spec states: XHTML Documents which follow the guidelines set forth in Appendix C, "HTML Compatibility Guidelines" may be labeled with the Internet Media Type "text/html" [RFC2854], as they are compatible with most HTML browsers.
. It's really unclear as to whether this is a real conformance issue, but regardless there is demand for sending at least warnings when a text/html XHTML 1.0 document does not follow these guidelines.
Test of warning for non-HTML compatible XHTML document (C1)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-xmldecl.html
Pass
yes
C1: XML Declaration
Test of warning for non-HTML compatible XHTML document (C2)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-empty.html
Pass
yes
C2: empty elements and minimized form
Test of warning for non-HTML compatible XHTML document (C3)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-emptycontent.html
Pass
yes
C3: Element Minimization and Empty Element Content
Valid Documents served with a wrong media type
Test of warning for HTML 4.01 served with wrong media type
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.xhtml
Fail
yes
HTML 4.01 Strict served with an XHTML mime type. This should fail validation
since the media type forces the XML parsing mode
Test of warning for SVG served with wrong media type
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/REC-SVG-1_0-minimal.html
yes
SVG 1.0 Rec. minimal document served as text/html. This may pass validation with a warning
as text/html will not trigger an unambiguous parsing mode, and doctype will prevail.
(is that wrong?)
Test of warning for MathML served with wrong media type
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html
yes
MathML 2.0 as text/html This may pass validation with a warning
as text/html will not trigger an unambiguous parsing mode, and doctype will prevail.
(is that wrong?)
Bug Regression Tests: Valid documents
Regression test: non-unix newlines
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml
Pass
XHTML+Math+SVG document with non-unix newlines,
(See Bug 3992: non-unix newlines confuse the parser)
Regression test: named entitles on a line with colons and numbers
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4892-entity.html
Pass
XHTML with named entities on a line with colons and numbers, caused bogus error report in validator 0.8.0
(See Bug 4892)
Invalid Documents
Miscellaneous invalid docs
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-bogus-element.html
XHTML1, bogus element (foo element not in DTD)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-bogus-attribute.html
XHTML1, bogus attribute
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4412-fuzzymatch.xhtml
Testing fuzzy matching: typos in attribute and element, and wrong-cased attribute and element.
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html
HTML5 document with tokenizer error (precise locator)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-range-error.html
HTML5 document with Tree builder (range locator)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-error-explanation.html
HTML5 document with bogus attribute (should have an error explanation)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/uppercase_element.xhtml
XHTML1, bogus element (uppercase A element not in DTD), tends to cascade errors about each attribute
Fail
http://www.w3.org/2001/01/xml-latin1.html
us-ascii xhtml document with a latin1 character
Abort
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/error_pls_warning.html
Invalid document (img without alt, invalid per).
Also has non-sgml character (testing for warning output)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/no-newlines.html
invalid frames document (noframes in forbidden location). Also test for absence of newlines
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2329-html401-strict_iframe.html
HTML 4.01 Strict - with iframe element (test for Bug 2329)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-blank-1st-line.html
XHTML1, blank first line (should be marked as invalid)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/ampersand-as-data.html
Bug 798: Ampersand as data in XHTML (OK in SGML, not XML)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.xhtml
XHTML with bogus XML Decl, served as application/xhtml+xml (missing final "?")
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html
XHTML with bogus XML Decl, served as text/html (missing final "?")
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html
bogus FPI #1: lowercase "doctype".
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil20-profile-doctype.smi
SMIL 2.0 with bogus xmlns and missing space between attributes
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/errors_sorting.smi
SMIL 2.0 with bogus xmlns, xml ill-formedness and bogus elements (used to test sorting of errors)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2689-attribute-no-space.xhtml
XHTML 1.0 missing space between attributes (Bug 2689)
Fail
Missing Doctype
See also Docs that should be Well Formed for examples of doctype-less but well-formed XML documents.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html
XHTML, no DOCTYPE, no xmlns (thus invalid)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.html
XHTML, no DOCTYPE, has xmlns (served as application/xhtml+xml)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.xhtml
XHTML, no DOCTYPE, has xmlns (served as application/xhtml+xml)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xml-nodoctype-notwf.xml
XML, no DOCTYPE, not well-formed (marked as "invalid XML" - FIXME should be reworded)
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/sgml-nodoctype-syntaxok.html
SGML-ish document without html root. Served as text/html. No DOCTYPE. Correct SGML syntax. Would pass as well-formed XML if it were XML...
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/sgml-nodoctype-syntaxnotok.html
SGML-ish document without html root. Served as text/html. No DOCTYPE. Bogus SGML syntax.
Fail
DTD-Valid but not conformant
For those, we will need to change the message, or hordes of SGML zombies will come down upon us ;)...
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-strict-missing-xmlns.html
XHTML 1.0 Strict missing xmlns attribute (valid)
Fail
Documents that have an invalid/unknown FPI, which should get public/system identifier mismatch warnings (W26)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html
bogus FPI #2: HTML 4.01 "Strict"
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.html
bogus FPI #3: XHTML 1.1 "Strict"
yes
Docs that should be Well Formed
well formed but no doctype. The validator could mark them as well formed, but not mention validity?
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xml-nodoctype-wf.xml
Basic XML document, well formed. No doctype. Currently checked only for xmlwf. Passes.
Pass
http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml
XML output from OpenOffice 5.2
("Build/Tag number OpenOffice605"), many namespaces. Currently checked only for xmlwf. Passes.
Pass
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4476-svg_nodoctype.svg
Very minimal SVG document, no document type. Currently checked only for xmlwf. Passes.
Pass
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml
XHTML document without doctype, served as XML. Fallback to XHTML 1.0, and invalid.
Fail
Document Encoding Tests
Various Encodings
http://www.w3.org/Press/1998/XSL-WD.html.ja
iso-2022-jp encoded document
Pass
http://www.vir.si/
windows-1250 encoded document (Slovenian)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-windows-1250.xhtml
Another windows-1250 encoded document (Valid XHTML)
Pass
http://www.w3.org/TR/ruby
utf-8 encoded document
Pass
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/plane20-char.xml
XML file with a "Plane 20" character (bogus).
Fail
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/charset_mismatch-http_xmldec.xhtml.utf8
Charset mismatch: HTTP Content-Type and XML Declaration (sends warning, proceed with HTTP and pass)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/charset_mismatch-http_meta.html.utf8
Charset mismatch: HTTP Content-Type and meta http-equiv (sends warning, proceed with HTTP and pass)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4520-iso88591-meta.html
iso-8859-1 HTML document with charset declared in meta,
(test for Bug 4520 - charset override)
Pass
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4520-iso88591-no_meta.html
iso-8859-1 HTML document with charset not declared in meta (nor in HTTP),
(test for Bug 4520 - charset override). This test should PASS when running with charset override set to latin-1 but ABORT if no override/fallback given
Abort
case-sensitivity of charset parameter in meta
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4917-meta_charset_case.html
This is a test for
Bug 4917. If HTML::Encoding is a sufficiently recent version, the test should PASS validation. Otherwise, it would FAIL with an encoding detection error.
Pass
Error conditions & strange cases
http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.xml
DOCTYPE with a relative URI for the system identifier. Should probably pass if the sgml parser was given the base URI(?)
Pass
Test for specific output
Output of preparse warnings
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml
text/xml, no charset (W01)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html
text/html, no charset, fbc set (W02)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.html
charset override (W03)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html
text/html, no charset, override set (W04)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html
text/html, no charset (W04)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html
XHTML, no DOCTYPE, if overriden, should output W05.
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/sgml_customdtd.html
HTML4.0 plus blink ("Custom" SGML DTD), parse mode fallback to SGML (W06)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.xhtml
HTML 4.01 Strict served with an XHTML mime type. Parse mode conflict (W07)
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html
XHTML, no DOCTYPE, no xmlns (thus invalid). (W09).
Fail
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/sgml-nodoctype-syntaxnotok.html
SGML-ish document with root element != html. Served as text/html. No DOCTYPE. (W09nohtml)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xml-nodoctype-notwf.xml
XML, no DOCTYPE, not well-formed (W09xml)
Fail
yes
W10 needs test case
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-strict.html
XHTML. If using doctype override to HTML401, namespace will trigger (W11)
Test for xmlns in HTML content
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/W11-ht401-namespace.html
HTML 4.01 with xmlns attribute on root element.
Should trigger a validation error (it does)
and preparse warning W11 (it doesn't!)
Fail
yes
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.html
HTML 4.01 Strict, validated with HTML 4.01 Transitional override (W13)
w14 needs a test case
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8
No doctype, override given, fallback fbd is off (W15)
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8
No doctype, fallback given (W16)
W17 needs a test case. is it a DUP of W04 now?
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/charset_mismatch-http_xmldec.xhtml.utf8
charset mismatch HTTP / XML decl (W18)
Pass
1
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/charset_mismatch-http_meta.html.utf8
charset mismatch HTTP / Meta (W19)
Pass
1
W20 needs a test case. probably rare.
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-utf8-bom.xhtml
UTF-8 document, with BOM (W21)
W22 (bad encoding alias) needs test case
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html
MathML 2.0 as text/html (W23)
Pass
yes
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/197-iso88591_alias.html
supported, but rare, charset (W24)
Pass
1
http://qa-dev.w3.org/wmvs/HEAD/dev/tests/3663-svg-noversion-doctypeless.svg
SVG with neither DOCTYPE nor version attribute (OK in SVG). (W25)
Pass
1