- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 02 May 2006 04:12:06 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/dev/tests In directory hutz:/tmp/cvs-serv16444 Modified Files: index.html Added Files: bogus-fpi4.html bogus-fpi5.xhtml fpi_mismatch1.html fpi_mismatch2.html Log Message: adding new bogus FPI tests, a couple of FPI/SI mismatch tests --- NEW FILE: fpi_mismatch1.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>W3C Markup Validator test document - FPI/SI mismatch 1</title> </head> <body> <p> This is a test HTML 4.01 Strict document (as declared in its FPI) but with an FPI/SI mismatch (the SI is that of XHTML 1.0 Strict) </p> </html> Index: index.html =================================================================== RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- index.html 16 Mar 2006 01:16:09 -0000 1.57 +++ index.html 2 May 2006 04:12:04 -0000 1.58 @@ -10,6 +10,7 @@ <div id="toc"> <ol> <li><a href="#doctypes">Document types support</a></li> + <li><a href="#doctype_FPI_SI">DOCTYPEs detection, FPIs, SIs</a></li> <li><a href="#invalid">Docs that are probably invalid</a></li> <li><a href="#well-formed">Docs that should be Well Formed</a></li> <li><a href="#encodings">Various Encodings</a></li> @@ -99,7 +100,13 @@ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml11-minimal.html;ss">validate</a> - <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml11-minimal.html;ss">with v.w.o</a> - <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml11-minimal.html">view</a>: - XHTML 1.1 + XHTML 1.1 served as text/html (validates but should send a warning, <a href="http://www.w3.org/TR/xhtml-media-types/#summary">per</a>) + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">view</a>: + XHTML 1.1 served as application/xhtml+xml </li> <li> <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-mathml2-fpi.html;ss">validate</a> - @@ -115,12 +122,7 @@ MathML 2.0 (minimal test document) </li> - <li> - <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">validate</a> - - <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">with v.w.o</a> - - <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/application-xhtml_xml.xhtml">view</a>: - XHTML 1.1 served as application/xhtml+xml - </li> + <li> <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil10-minimal.smi">validate</a> - <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil10-minimal.smi">with v.w.o</a> - @@ -174,9 +176,57 @@ </li> </ul> - - - +<h3 id="doctype_FPI_SI">DOCTYPEs detection, FPIs, SIs</h3> +<ul> + <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html">view</a>: + XHTML, no DOCTYPE, no xmlns</a> (invalid)</li> + + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html;ss">with v.w.o</a> + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html">view</a>: bogus FPI #1: lowercase "doctype" + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html;ss">with v.w.o</a> + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html">view</a>: + bogus FPI #2: HTML 4.01 "Strict" + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.xhtml;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.xhtml;ss">with v.w.o</a> + <a href="uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.xhtml">view</a>: bogus FPI #3: XHTML 1.1 "Strict" + </li> <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi4.html;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi4.html;ss">with v.w.o</a> + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi4.html">view</a>: + bogus FPI #4: HTML 4.01 "Strict" (with correct System Identifier) (validates - should send warning) + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi5.xhtml;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi5.xhtml;ss">with v.w.o</a> + <a href="uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi5.xhtml">view</a>: bogus FPI #5: XHTML 1.1 "Strict" + (with correct System Identifier) (validates - should send warning about ) + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch1.xhtml;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch1.xhtml;ss">with v.w.o</a> + <a href="uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch1.xhtml">view</a>: FPI/SI mismatch 1: HTML 4.01 Strict - XHTML 1.0 Strict + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch2.xhtml;ss">validate</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch2.xhtml;ss">with v.w.o</a> + <a href="uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/fpi_mismatch2.xhtml">view</a>: FPI/SI mismatch 2: HTML 4.01 Strict - HTML 4.01 Transitional + </li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">bogus XML Decl (missing final "?")</a> + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">bogus XML Decl (missing final "?")</a> + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html">view</a>: + bogus XML Decl (missing final "?") + </li> +</ul> <h3 id="invalid">Docs that are probably invalid</h3> @@ -226,11 +276,7 @@ <ul> - <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html;ss">XHTML, no DOCTYPE, no xmlns</a> (invalid)</li> - <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html;ss">bogus FPI #1: lowercase "doctype".</a></li> - <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html;ss">bogus FPI #2: HTML 4.01 "Strict"</a></li> - <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.html;ss">bogus FPI #3: XHTML 1.1 "Strict"</a></li> - <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">bogus XML Decl (missing final "?")</a></li> + <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-blank-1st-line.html;ss">XHTML1, blank first line</a> (<a href="http://lists.w3.org/Archives/Public/www-validator/2000JanMar/0144.html">should be marked as invalid</a>)</li> <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-bogus-element.html;ss">XHTML1, bogus element</a></li> --- NEW FILE: bogus-fpi5.xhtml --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>test document with a bogus FPI</title> <meta name="revision" content="$Id: bogus-fpi5.xhtml,v 1.1 2006/05/02 04:12:04 ot Exp $" /> </head> <body> <p>This is a test document with a bogus FPI. (but with correct system identifier)</p> <p>There is no "Strict" in the FPI for XHTML 1.1.</p> </body> </html> --- NEW FILE: bogus-fpi4.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <TITLE>W3C Markup Validator test - Bogus FPI 4 - HTML 4.01 "Strict"</TITLE> </HEAD> <BODY> <P>This document uses a <strong>wrong</strong> DOCTYPE public identifier. </P> <P><strong>incorrect</strong>: </P> <pre> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"> </pre> <P><strong>correct</strong>: </P> <pre> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> </pre> </BODY> </HTML> --- NEW FILE: fpi_mismatch2.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>W3C Markup Validator test document - FPI/SI mismatch 2</title> </head> <body> <p> This is a test HTML 4.01 Strict document (as declared in its FPI) but with an FPI/SI mismatch (the SI is that of HTML 4.01 Transitional) </p> </html>
Received on Tuesday, 2 May 2006 04:12:12 UTC