summaryrefslogtreecommitdiffstats
path: root/htdocs/dev/tests
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/dev/tests')
-rwxr-xr-xhtdocs/dev/tests/index.html146
-rw-r--r--htdocs/dev/tests/xhtml-print_1_0.xhtml16
2 files changed, 34 insertions, 128 deletions
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html
index d615388..5f1830c 100755
--- a/htdocs/dev/tests/index.html
+++ b/htdocs/dev/tests/index.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: index.html,v 1.58 2006-05-02 04:12:04 ot Exp $"
---><!--#set var="date" value="\$Date: 2006-05-02 04:12:04 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.59 2006-10-18 06:13:59 ot Exp $"
+--><!--#set var="date" value="\$Date: 2006-10-18 06:13:59 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->
@@ -10,7 +10,6 @@
<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>
@@ -100,13 +99,7 @@
<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 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
+ XHTML 1.1
</li>
<li>
<a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-mathml2-fpi.html;ss">validate</a> -
@@ -122,7 +115,12 @@
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> -
@@ -142,7 +140,12 @@
XHTML + MathML + SVG
(from the 9 August 2002 WD)
</li>
-
+ <li>
+ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">with v.w.o</a> -
+ <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">view</a>:
+ XHTML-Print
+ </li>
</ul>
<h4>Document types outside the main catalogue</h4>
@@ -168,69 +171,13 @@ All these documents should validate, without "pretty print" for the document typ
<a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/rddl_si.xhtml">view</a>:
RDDL (no FPI)
</li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.xhtml">view</a>:
- XHTML-Print (not yet a REC)
- </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>
- <h4>Sample invalid documents</h4>
+
+
+ <h3 id="invalid">Docs that are probably invalid</h3>
<p><strong>we must FIX THIS!</strong> It's not reliable any more...</p>
@@ -253,14 +200,6 @@ All these documents should validate, without "pretty print" for the document typ
<h3 id="encodings">Various Encodings</h3>
<ul>
- <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset.html;ss">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset.html;ss">with v.w.o</a> -
- <a href="nocharset.html">view</a>:
- XHTML 1.0 Strict, no charset</li>
- <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset_notutf8.html;ss">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset_notutf8.html;ss">with v.w.o</a> -
- <a href="nocharset_notutf8.html">view</a>:
- XHTML 1.0 Strict, no charset, cannot be interpreted as utf-8</li>
<li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html">UTF-8 sample text (correct)</a>,
<a href='http://www.w3.org/2001/06/utf-8-test/'>more positive tests</a></li>
<li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-wrong/UTF-8-test.html">UTF-8 stress test (wrong cases)</a>,
@@ -276,7 +215,11 @@ All these documents should validate, without "pretty print" for the document typ
<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>
@@ -373,49 +316,6 @@ All these documents should validate, without "pretty print" for the document typ
</ul>
<h3 id="regress">Bugs and Regression Tests</h3>
-
-
- <h4>global document warnings</h4>
- <p>This section holds documents which should trigger global warnings - mime type, charset, document type issues.</p>
-
- <ul>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">view</a>:
-text/xml resource with no charset - W01
- </li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">view</a>:
-text/html resource with no charset - W04
- </li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">view</a>:
-text/xml resource with no charset - W07
- </li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">view</a>:
- text/html Document using Custom DTD, unsure of SGML/XML parse mode - W08
- </li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">view</a>:
- text/html Document lacking DOCTYPE - W09
- </li>
- <li>
- <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html_xmlns.html.utf8">validate</a> -
- <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html_xmlns.html.utf8">with v.w.o</a> -
- <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html_xmlns.html.utf8">view</a>:
-html (not xhtml) resource using namespaces - W10 </li>
-</ul>
-
<p>These should be tied to a bug report on either mailing-list and/or bugzilla whenever possible.</p>
<ul>
diff --git a/htdocs/dev/tests/xhtml-print_1_0.xhtml b/htdocs/dev/tests/xhtml-print_1_0.xhtml
index 2215c58..09c97e1 100644
--- a/htdocs/dev/tests/xhtml-print_1_0.xhtml
+++ b/htdocs/dev/tests/xhtml-print_1_0.xhtml
@@ -1,12 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML-Print 1.0//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>Sample XHTML-Print document</title>
+<title>sample XHTML print document</title>
</head>
-
<body>
-<p>This is a simple XHTML-Print doc.</p>
+<div class="TestPurpose">If a printer encounters an image in a format it does not support, it SHALL
+render any alternate content provided, </div>
+<div>
+<img src="example.unknown" alt="This image alt text must be printed." width="100" height="100" />
+<object type="example/unknown" width="100" height="100" data="unknown:example.unknown">
+ This content of the object element must be printed</object>
+
+</div>
</body>
-</html>
+</html> \ No newline at end of file